mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 22:45:57 +00:00
force timestamp hack to most main operations (main loop)
This commit is contained in:
@@ -167,6 +167,9 @@ function scheduleFeedUpdate(force) {
|
|||||||
|
|
||||||
var date = new Date();
|
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) {
|
if (!xmlhttp_ready(xmlhttp_ctr) && last_refetch < date.getTime() / 1000 - 60) {
|
||||||
debug("<b>xmlhttp seems to be stuck, aborting</b>");
|
debug("<b>xmlhttp seems to be stuck, aborting</b>");
|
||||||
xmlhttp_ctr.abort();
|
xmlhttp_ctr.abort();
|
||||||
|
|||||||
Reference in New Issue
Block a user