Skip to content

Commit

Permalink
update roundtable loop timings for instrumentation and uncrossing
Browse files Browse the repository at this point in the history
  • Loading branch information
affanv14 committed Oct 16, 2024
1 parent ca15c4d commit 543e078
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions indexer/services/roundtable/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down Expand Up @@ -208,7 +208,7 @@ export const configSchema = {
AGGREGATE_TRADING_REWARDS_CHUNK_SIZE: parseInteger({ default: 50 }),

// Uncross orderbook
STALE_ORDERBOOK_LEVEL_THRESHOLD_SECONDS: parseInteger({ default: 10 }),
STALE_ORDERBOOK_LEVEL_THRESHOLD_SECONDS: parseInteger({ default: 10 }),

// Subaccount username generator
SUBACCOUNT_USERNAME_NUM_RANDOM_DIGITS: parseInteger({ default: 3 }),
Expand Down

0 comments on commit 543e078

Please sign in to comment.