Skip to content

Commit

Permalink
chore: increase topics reconnect delay to 500ms (#1431)
Browse files Browse the repository at this point in the history
* chore: increase topics reconnect delay to see discontinuities

* change delay to 500ms
  • Loading branch information
anitarua authored Aug 30, 2024
1 parent ee68be0 commit c689182
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 = 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 c689182

Please sign in to comment.