remove unnecessary logging

This commit is contained in:
Nour Alharithi
2024-12-03 16:38:38 -08:00
parent 52d008f487
commit 37c7da674a

View File

@@ -650,8 +650,6 @@ const main = async (): Promise<void> => {
const depth = Math.min(parseInt(adjustedDepth as string) ?? 1, 100); const depth = Math.min(parseInt(adjustedDepth as string) ?? 1, 100);
redisL2['bids'] = redisL2['bids']?.slice(0, depth); redisL2['bids'] = redisL2['bids']?.slice(0, depth);
redisL2['asks'] = redisL2['asks']?.slice(0, depth); redisL2['asks'] = redisL2['asks']?.slice(0, depth);
console.log(redisL2['slot']);
console.log(SLOT_STALENESS_TOLERANCE);
if ( if (
redisL2 && redisL2 &&
dlobProvider.getSlot() - redisL2['slot'] < SLOT_STALENESS_TOLERANCE dlobProvider.getSlot() - redisL2['slot'] < SLOT_STALENESS_TOLERANCE