From 0be93f08ce7656a6ec85ec8304e1c94a291d9ac6 Mon Sep 17 00:00:00 2001 From: anitarua Date: Fri, 30 Aug 2024 10:18:58 -0700 Subject: [PATCH] chore: increase topics reconnect delay to see discontinuities --- .../core/src/internal/clients/pubsub/AbstractPubsubClient.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/internal/clients/pubsub/AbstractPubsubClient.ts b/packages/core/src/internal/clients/pubsub/AbstractPubsubClient.ts index 5b6717b8d..b0c1d6f91 100644 --- a/packages/core/src/internal/clients/pubsub/AbstractPubsubClient.ts +++ b/packages/core/src/internal/clients/pubsub/AbstractPubsubClient.ts @@ -260,7 +260,7 @@ export abstract class AbstractPubsubClient // transparently restart the stream instead of propagating an error. if (shouldReconnectSubscription) { options.restartedDueToError = true; - const reconnectDelayMillis = 100; + const reconnectDelayMillis = 5000; this.logger.trace( 'Error occurred on subscription, possibly a network interruption. Will attempt to restart stream in %s ms.', reconnectDelayMillis