Skip to content

Commit

Permalink
fix: Bumps retry interval for http conference requests.
Browse files Browse the repository at this point in the history
The interval will be between 1.5 and 7.1 seconds.
  • Loading branch information
damencho committed Apr 12, 2024
1 parent 8e41688 commit d07f9b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/xmpp/ChatRoom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1260,8 +1260,8 @@ export default class ChatRoom extends Listenable {
if (this._roomCreationRetries <= 3) {
const retryDelay = getJitterDelay(
/* retry */ this._roomCreationRetries,
/* minDelay */ 300,
1);
/* minDelay */ 500,
1.5);

// let's retry inviting jicofo and joining the room, retries will take between 1 and 3 seconds
setTimeout(() => this.join(this.password, this.replaceParticipant), retryDelay);
Expand Down

0 comments on commit d07f9b8

Please sign in to comment.