adjusting timers because of issues with certain devices

This commit is contained in:
Stefan Midjich 2017-11-17 17:22:52 +01:00
parent 92b07c9467
commit 9fafe3a2fb
1 changed files with 3 additions and 3 deletions

View File

@ -123,12 +123,12 @@ function poll_jobs(data) {
reject("Job polling timed out");
return;
} else {
timer = setTimeout(pollJob, 1500);
timer = setTimeout(pollJob, 2000);
}
};
// Here I just want the pollJob function to run immediately
var timer = setTimeout(pollJob, 200);
var timer = setTimeout(pollJob, 1000);
}));
}
@ -142,7 +142,7 @@ function poll_jobs(data) {
if (success === true) {
// This timeout might be important if device wifi prompts seem to
// hang on the portal without redirecting on their own.
setTimeout(do_success, 200);
setTimeout(do_success, 2000);
}
// This is reject() above.