Skip to content

Commit

Permalink
chore: increase topics reconnect delay to see discontinuities
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua committed Aug 30, 2024
1 parent 52a4b98 commit 0be93f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export abstract class AbstractPubsubClient<TGrpcError>
// 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
Expand Down

0 comments on commit 0be93f0

Please sign in to comment.