Retry joins on 524 (Cloudflare timeout) also (#11296)
parent
9a31cd0fa8
commit
a1ca79c6c7
|
@ -545,8 +545,8 @@ export class RoomViewStore extends EventEmitter {
|
||||||
}),
|
}),
|
||||||
NUM_JOIN_RETRY,
|
NUM_JOIN_RETRY,
|
||||||
(err) => {
|
(err) => {
|
||||||
// if we received a Gateway timeout then retry
|
// if we received a Gateway timeout or Cloudflare timeout then retry
|
||||||
return err.httpStatus === 504;
|
return err.httpStatus === 504 || err.httpStatus === 524;
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue