Fix fetch poll if server down

This commit is contained in:
Jeremy Zhang 2017-04-13 00:44:59 +00:00
parent a0003388ae
commit 26ee79246d

View File

@ -371,7 +371,7 @@
}
});
fet.catch(function(data) {
if (!(data.status != 403 || data.status != 401)) {
if (data.status != 403 || data.status != 401) {
fetchtimeout = setTimeout(run_fetch_routine, 10000);
}
});