Skip to content

Commit

Permalink
fix register re-try on 423 response (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
staskobzar authored Apr 5, 2024
1 parent f3ebc9e commit df71288
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Registrator.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ ${this._contact};expires=${this._expires}${this._extraContactParams}`);
if (this._expires < MIN_REGISTER_EXPIRES)
this._expires = MIN_REGISTER_EXPIRES;

this._registering = false; // assure register re-try with new expire
// Attempt the registration again immediately.
this.register();
}
Expand Down

0 comments on commit df71288

Please sign in to comment.