Skip to content

Commit d057e37

Browse files
committed
Reduce retry delay on general MongoDB change stream errors.
1 parent 485bb67 commit d057e37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/module-mongodb/src/replication/MongoErrorRateLimiter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export class MongoErrorRateLimiter implements ErrorRateLimiter {
2828
// Could be fail2ban or similar
2929
this.setDelay(120_000);
3030
} else {
31-
this.setDelay(30_000);
31+
this.setDelay(5_000);
3232
}
3333
}
3434

0 commit comments

Comments
 (0)