mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-06 22:48:21 +00:00
Retry joins on 524 (Cloudflare timeout) also (#11296)
This commit is contained in:
committed by
GitHub
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;
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user