We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5970e65 commit 2eddaf5Copy full SHA for 2eddaf5
packages/sdk/src/protocols/filter/reliability_monitor.ts
@@ -123,7 +123,7 @@ export class ReceiverReliabilityMonitor {
123
const failures = (this.peerFailures.get(peerId.toString()) || 0) + 1;
124
this.peerFailures.set(peerId.toString(), failures);
125
126
- if (failures > this.maxPingFailures) {
+ if (failures >= this.maxPingFailures) {
127
try {
128
await this.renewAndSubscribePeer(peerId);
129
this.peerFailures.delete(peerId.toString());
0 commit comments