mirror of https://github.com/vector-im/riot-web
Retry joins on 524 (Cloudflare timeout) also (#11296)
parent
9a31cd0fa8
commit
a1ca79c6c7
|
@ -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…
Reference in New Issue