浏览代码

fix: Bumps retry interval for http conference requests.

The interval will be between 1.5 and 7.1 seconds.
release-8443
damencho 1年前
父节点
当前提交
17c26cff46
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      modules/xmpp/ChatRoom.js

+ 2
- 2
modules/xmpp/ChatRoom.js 查看文件

1260
                     if (this._roomCreationRetries <= 3) {
1260
                     if (this._roomCreationRetries <= 3) {
1261
                         const retryDelay = getJitterDelay(
1261
                         const retryDelay = getJitterDelay(
1262
                             /* retry */ this._roomCreationRetries,
1262
                             /* retry */ this._roomCreationRetries,
1263
-                            /* minDelay */ 300,
1264
-                            1);
1263
+                            /* minDelay */ 500,
1264
+                            1.5);
1265
 
1265
 
1266
                         // let's retry inviting jicofo and joining the room, retries will take between 1 and 3 seconds
1266
                         // let's retry inviting jicofo and joining the room, retries will take between 1 and 3 seconds
1267
                         setTimeout(() => this.join(this.password, this.replaceParticipant), retryDelay);
1267
                         setTimeout(() => this.join(this.password, this.replaceParticipant), retryDelay);

正在加载...
取消
保存