Only skip retry for WebSocket errors between 4400 and 4499
This commit is contained in:
parent
72feaab6f4
commit
2efd7121b8
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ Zotero.Sync.Streamer_Module.prototype = {
|
|||
}
|
||||
|
||||
if (this._reconnect) {
|
||||
if (event.code >= 4000) {
|
||||
if (event.code >= 4400 && event.code < 4500) {
|
||||
Zotero.debug("Not reconnecting to WebSocket due to client error");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue