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 e7f89f3 commit e6d3a17Copy full SHA for e6d3a17
src/api/registerer.ts
@@ -678,7 +678,11 @@ export class Registerer {
678
// For that, calculate the delay as a percentage of the expiration time
679
this.registrationTimer = setTimeout(() => {
680
this.registrationTimer = undefined;
681
- this.register();
+ if (this.waiting) {
682
+ this.logger.warn("Outstanding REGISTER request already in progress, skipping re-registration")
683
+ return
684
+ }
685
+ this.register()
686
}, (this.refreshFrequency / 100) * expires * 1000);
687
688
// We are unregistered if the registration expires.
0 commit comments