From 3339df5e1a80e30a75f0dd83f99d6980cfde9833 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 16 Oct 2024 17:25:01 -0400 Subject: [PATCH] [OTE-876] update roundtable loop timings for instrumentation and uncrossing (backport #2494) (#2506) Co-authored-by: Mohammed Affan --- indexer/services/roundtable/src/config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/indexer/services/roundtable/src/config.ts b/indexer/services/roundtable/src/config.ts index 42b66a4882..34dafba44b 100644 --- a/indexer/services/roundtable/src/config.ts +++ b/indexer/services/roundtable/src/config.ts @@ -70,7 +70,7 @@ export const configSchema = { default: 2 * ONE_MINUTE_IN_MILLISECONDS, }), LOOPS_INTERVAL_MS_UNCROSS_ORDERBOOK: parseInteger({ - default: THIRTY_SECONDS_IN_MILLISECONDS, + default: 15 * ONE_SECOND_IN_MILLISECONDS, }), LOOPS_INTERVAL_MS_PNL_TICKS: parseInteger({ default: THIRTY_SECONDS_IN_MILLISECONDS, @@ -79,7 +79,7 @@ export const configSchema = { default: 2 * ONE_MINUTE_IN_MILLISECONDS, }), LOOPS_INTERVAL_MS_ORDERBOOK_INSTRUMENTATION: parseInteger({ - default: 5 * ONE_SECOND_IN_MILLISECONDS, + default: 1 * ONE_MINUTE_IN_MILLISECONDS, }), LOOPS_INTERVAL_MS_PNL_INSTRUMENTATION: parseInteger({ default: ONE_HOUR_IN_MILLISECONDS,