Fix for fetch poll, again

This commit is contained in:
Jeremy Zhang 2017-04-13 00:46:03 +00:00
parent 26ee79246d
commit f4e195027b

View File

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