diff --git a/static/js/adaptive-setinterval.js b/static/js/adaptive-setinterval.js index ff23c682..4a34e750 100644 --- a/static/js/adaptive-setinterval.js +++ b/static/js/adaptive-setinterval.js @@ -40,8 +40,6 @@ function adaptiveSetInterval(fn, runNow) { } }); - if (runNow) { - quota = 20; - scheduleRun(); - } + quota = 20; + scheduledId = setTimeout(scheduleRun, runNow ? 1 : 3000); }