resub timeout on publisher ws
This commit is contained in:
@@ -149,6 +149,7 @@ const main = async () => {
|
||||
accountSubscription = {
|
||||
type: 'websocket',
|
||||
commitment: stateCommitment,
|
||||
resubTimeoutMs: 30_000,
|
||||
};
|
||||
slotSubscriber = new SlotSubscriber(connection);
|
||||
await slotSubscriber.subscribe();
|
||||
|
||||
Reference in New Issue
Block a user