From e97e69ffe95fa8ddfc773648282118cfe07cc85d Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Tue, 16 Apr 2024 15:22:47 -0700 Subject: [PATCH] widen out restart threshold --- src/dlob-subscriber/DLOBSubscriberIO.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dlob-subscriber/DLOBSubscriberIO.ts b/src/dlob-subscriber/DLOBSubscriberIO.ts index 8bfabde..b036f02 100644 --- a/src/dlob-subscriber/DLOBSubscriberIO.ts +++ b/src/dlob-subscriber/DLOBSubscriberIO.ts @@ -30,8 +30,8 @@ type wsMarketArgs = { updateOnChange?: boolean; }; -const PERP_MAKRET_STALENESS_THRESHOLD = 10 * 60 * 1000; -const SPOT_MAKRET_STALENESS_THRESHOLD = 20 * 60 * 1000; +const PERP_MAKRET_STALENESS_THRESHOLD = 30 * 60 * 1000; +const SPOT_MAKRET_STALENESS_THRESHOLD = 60 * 60 * 1000; const PERP_MARKETS_TO_SKIP_SLOT_CHECK = { 'mainnet-beta': [17, 25, 28],