From ba952f8add3666c8642c46753bbacb60e7c49b3c Mon Sep 17 00:00:00 2001 From: Tyler Shipe Date: Sun, 23 Jan 2022 15:32:00 -0500 Subject: [PATCH] update stats collection interval --- src/collectStats.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/collectStats.ts b/src/collectStats.ts index 39b6943..e19e414 100644 --- a/src/collectStats.ts +++ b/src/collectStats.ts @@ -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)