This commit is contained in:
Nour Alharithi
2023-12-12 11:27:22 -08:00
parent f00be8945e
commit 6ee967933f
2 changed files with 3 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ const useOrderSubscriber =
const useGrpc = process.env.USE_GRPC?.toLowerCase() === 'true';
const useWebsocket = process.env.USE_WEBSOCKET?.toLowerCase() === 'true';
const ORDERBOOK_UPDATE_INTERVAL = useGrpc ? 500 : 1000;
const ORDERBOOK_UPDATE_INTERVAL = 1000;
const WS_FALLBACK_FETCH_INTERVAL = 10_000;
logger.info(`RPC endpoint: ${endpoint}`);