Retry joins on 524 (Cloudflare timeout) also (#11296)
This commit is contained in:
parent
9a31cd0fa8
commit
a1ca79c6c7
1 changed files with 2 additions and 2 deletions
|
@ -545,8 +545,8 @@ export class RoomViewStore extends EventEmitter {
|
|||
}),
|
||||
NUM_JOIN_RETRY,
|
||||
(err) => {
|
||||
// if we received a Gateway timeout then retry
|
||||
return err.httpStatus === 504;
|
||||
// if we received a Gateway timeout or Cloudflare timeout then retry
|
||||
return err.httpStatus === 504 || err.httpStatus === 524;
|
||||
},
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue