update stats collection interval

This commit is contained in:
Tyler Shipe 2022-01-23 15:32:00 -05:00
parent f9f2fe2830
commit ba952f8add
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ const CLUSTER_URLS = [
const cluster = (process.env.CLUSTER || "devnet") as Cluster
const groupName = (process.env.GROUP || "devnet.1") as string
const SECONDS = 1000
const PERP_INTERVAL = 10 * SECONDS
const SPOT_INTERVAL = 20 * SECONDS
const PERP_INTERVAL = 30 * SECONDS
const SPOT_INTERVAL = 30 * SECONDS
const clusterUrl = CLUSTER_URLS.find((c) => c.name === cluster)
const connection = new Connection(clusterUrl.url, "singleGossip")
const config = new Config(IDS)