update stats collection interval
This commit is contained in:
parent
f9f2fe2830
commit
ba952f8add
|
@ -32,8 +32,8 @@ const CLUSTER_URLS = [
|
||||||
const cluster = (process.env.CLUSTER || "devnet") as Cluster
|
const cluster = (process.env.CLUSTER || "devnet") as Cluster
|
||||||
const groupName = (process.env.GROUP || "devnet.1") as string
|
const groupName = (process.env.GROUP || "devnet.1") as string
|
||||||
const SECONDS = 1000
|
const SECONDS = 1000
|
||||||
const PERP_INTERVAL = 10 * SECONDS
|
const PERP_INTERVAL = 30 * SECONDS
|
||||||
const SPOT_INTERVAL = 20 * SECONDS
|
const SPOT_INTERVAL = 30 * SECONDS
|
||||||
const clusterUrl = CLUSTER_URLS.find((c) => c.name === cluster)
|
const clusterUrl = CLUSTER_URLS.find((c) => c.name === cluster)
|
||||||
const connection = new Connection(clusterUrl.url, "singleGossip")
|
const connection = new Connection(clusterUrl.url, "singleGossip")
|
||||||
const config = new Config(IDS)
|
const config = new Config(IDS)
|
||||||
|
|
Loading…
Reference in New Issue