From 89fbb3bc8206cd9d6a2554253a6eb1afe342b927 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Feb 2007 18:07:57 +0100 Subject: [PATCH] force timestamp hack to most main operations (main loop) --- tt-rss.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tt-rss.js b/tt-rss.js index b50cc3b7..32c8c766 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -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("xmlhttp seems to be stuck, aborting"); xmlhttp_ctr.abort(); -- 2.39.5