From 1324465d33572e13a29058229d03c70ff1b7b9f8 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Mon, 11 Dec 2023 07:05:04 -0800 Subject: [PATCH] resub timeout on publisher ws --- src/publishers/dlobPublisher.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/publishers/dlobPublisher.ts b/src/publishers/dlobPublisher.ts index b6049e6..5209823 100644 --- a/src/publishers/dlobPublisher.ts +++ b/src/publishers/dlobPublisher.ts @@ -149,6 +149,7 @@ const main = async () => { accountSubscription = { type: 'websocket', commitment: stateCommitment, + resubTimeoutMs: 30_000, }; slotSubscriber = new SlotSubscriber(connection); await slotSubscriber.subscribe();