chore: add dlob offload

This commit is contained in:
Jack Waller
2025-06-17 16:17:26 +10:00
parent 8529337e39
commit 1d722e1675
5 changed files with 1173 additions and 220 deletions

View File

@@ -125,6 +125,8 @@ const SPOT_MARKETS_TO_LOAD =
? parsePositiveIntArray(process.env.SPOT_MARKETS_TO_LOAD)
: undefined;
const enableOffloadQueue = process.env.ENABLE_OFFLOAD === 'true';
logger.info(`RPC endpoint: ${endpoint}`);
logger.info(`WS endpoint: ${wsEndpoint}`);
logger.info(`GRPC endpoint: ${grpcEndpoint}`);
@@ -522,6 +524,7 @@ const main = async () => {
killSwitchSlotDiffThreshold: KILLSWITCH_SLOT_DIFF_THRESHOLD,
protectedMakerView: false,
indicativeQuotesRedisClient: indicativeRedisClient,
enableOffloadQueue
});
await dlobSubscriberIndicative.subscribe();