From 710160e32842821e1ff5c7971218da4e299c040c Mon Sep 17 00:00:00 2001 From: Tyler Date: Wed, 15 Jan 2025 17:07:10 -0500 Subject: [PATCH] fix --- src/abacus-ts/websocket/lib/indexerWebsocket.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/abacus-ts/websocket/lib/indexerWebsocket.ts b/src/abacus-ts/websocket/lib/indexerWebsocket.ts index 7257ca75a..a92ff9934 100644 --- a/src/abacus-ts/websocket/lib/indexerWebsocket.ts +++ b/src/abacus-ts/websocket/lib/indexerWebsocket.ts @@ -23,6 +23,8 @@ interface SubscriptionHandlerInput { type SubscriptionHandlerTrackingMetadata = { receivedBaseData: boolean; sentSubMessage: boolean; + // using subs for this data means we lose it when the user fully unsubscribes and thus might actually retry more often than expected + // but this is fine since every consumer has subs wrapped in resource managers that prevent lots of churn lastRetryBecauseErrorMs: number | undefined; lastRetryBecauseDuplicateMs: number | undefined; };