Skip to content

Commit

Permalink
change delay to 500ms
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua committed Aug 30, 2024
1 parent 0be93f0 commit 64d0f0f
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 = 5000;
const reconnectDelayMillis = 500;
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 64d0f0f

Please sign in to comment.