summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-02-07 18:07:57 +0100
committerAndrew Dolgov <[email protected]>2007-02-07 18:07:57 +0100
commit89fbb3bc8206cd9d6a2554253a6eb1afe342b927 (patch)
treecda8d5483e77a9eacaf3ed6c32dacce572dc48c0 /tt-rss.js
parenta51193e2392061616c0425334281ac2fb61bf1bb (diff)
force timestamp hack to most main operations (main loop)
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/tt-rss.js b/tt-rss.js
index b50cc3b71..32c8c7665 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("<b>xmlhttp seems to be stuck, aborting</b>");
xmlhttp_ctr.abort();