From 83ee5b790ac9157bd2370877d16336a5ff4ddf97 Mon Sep 17 00:00:00 2001 From: Nour Alharithi Date: Wed, 22 Jan 2025 16:30:15 -0800 Subject: [PATCH] slot subscriber resub --- drift-common | 2 +- src/publishers/dlobPublisher.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drift-common b/drift-common index 8afb237..006397d 160000 --- a/drift-common +++ b/drift-common @@ -1 +1 @@ -Subproject commit 8afb2379ef4797ee07eb39cdc803d8ec45ab1466 +Subproject commit 006397d9c8f1b0aaf4d42186534bcf3252d1abcd diff --git a/src/publishers/dlobPublisher.ts b/src/publishers/dlobPublisher.ts index 170bdda..7eb8468 100644 --- a/src/publishers/dlobPublisher.ts +++ b/src/publishers/dlobPublisher.ts @@ -372,7 +372,9 @@ const main = async () => { commitment: stateCommitment, resubTimeoutMs: 30_000, }; - slotSubscriber = new SlotSubscriber(connection); + slotSubscriber = new SlotSubscriber(connection, { + resubTimeoutMs: 10_000, + }); await slotSubscriber.subscribe(); slotSource = {