add back resubTimeoutMs

This commit is contained in:
Nour Alharithi
2023-12-15 13:09:35 -08:00
parent a8fd22d1dd
commit 8a49c1bc7f

View File

@@ -167,6 +167,7 @@ const main = async () => {
accountSubscription = {
type: 'websocket',
commitment: stateCommitment,
resubTimeoutMs: 30_000,
};
slotSubscriber = new SlotSubscriber(connection);
await slotSubscriber.subscribe();