mirror of https://github.com/zulip/zulip.git
Reset the failures count to 0 when restoring from suspend.
(imported from commit 11b03f8a0565063cc7381dd32a96af79bd26a0d1)
This commit is contained in:
parent
bb9c6c4e4a
commit
cd14988b47
|
@ -525,6 +525,7 @@ setInterval(function() {
|
||||||
// new updates.
|
// new updates.
|
||||||
get_updates_xhr.abort();
|
get_updates_xhr.abort();
|
||||||
clearTimeout(get_updates_timeout);
|
clearTimeout(get_updates_timeout);
|
||||||
|
received.failures = 0;
|
||||||
get_updates();
|
get_updates();
|
||||||
}
|
}
|
||||||
watchdog_time = new_time;
|
watchdog_time = new_time;
|
||||||
|
|
Loading…
Reference in New Issue