]> git.wh0rd.org Git - tt-rss.git/commitdiff
force timestamp hack to most main operations (main loop)
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 7 Feb 2007 17:07:57 +0000 (18:07 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 7 Feb 2007 17:07:57 +0000 (18:07 +0100)
tt-rss.js

index b50cc3b7173a5a0d388e083ebdcd3fa3f2e06561..32c8c7665c0415908e2be4814e89b3ce950731b3 100644 (file)
--- 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();