force timestamp hack to most main operations (main loop)
This commit is contained in:
parent
a51193e239
commit
89fbb3bc82
1 changed files with 3 additions and 0 deletions
|
@ -167,6 +167,9 @@ function scheduleFeedUpdate(force) {
|
|||
|
||||
var date = new Date();
|
||||
|
||||
var timestamp = Math.round(date.getTime() / 1000);
|
||||
query_str = query_str + "&ts=" + timestamp
|
||||
|
||||
if (!xmlhttp_ready(xmlhttp_ctr) && last_refetch < date.getTime() / 1000 - 60) {
|
||||
debug("<b>xmlhttp seems to be stuck, aborting</b>");
|
||||
xmlhttp_ctr.abort();
|
||||
|
|
Loading…
Reference in a new issue