CC-4943: Raspberry Pi optimization: don't create new background AJAX request until the previous one has returned
-fixed
This commit is contained in:
parent
30c47df93d
commit
bb7e56e39e
7 changed files with 22 additions and 12 deletions
|
@ -277,12 +277,13 @@ AIRTIME = (function(AIRTIME) {
|
|||
if (json.update === true) {
|
||||
oTable.fnDraw();
|
||||
}
|
||||
setTimeout(checkScheduleUpdates, 5000);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
//check if the timeline view needs updating.
|
||||
setInterval(checkScheduleUpdates, 5 * 1000); //need refresh in milliseconds
|
||||
checkScheduleUpdates();
|
||||
};
|
||||
|
||||
mod.onResize = function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue