chore: add dlob offload
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user