summaryrefslogtreecommitdiff
path: root/functions.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2007-02-07 18:01:35 +0100
committerAndrew Dolgov <[email protected]>2007-02-07 18:01:35 +0100
commit86173d9a958ab2b2482d683fae3d7c8c627a3ba4 (patch)
tree476306f38f9f9a312d1edd41f656c3c2dbbc2540 /functions.js
parente3a21a251cd3c0516bf716fa76c735fd51497724 (diff)
force timestamp hack to most main operations
Diffstat (limited to 'functions.js')
-rw-r--r--functions.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions.js b/functions.js
index 17370dfdd..7000c585e 100644
--- a/functions.js
+++ b/functions.js
@@ -802,6 +802,10 @@ function update_all_counters(feed) {
debug("update_all_counters QUERY: " + query);
+ var date = new Date();
+ var timestamp = Math.round(date.getTime() / 1000);
+ query = query + "&ts=" + timestamp
+
xmlhttp_rpc.open("GET", query, true);
xmlhttp_rpc.onreadystatechange=all_counters_callback;
xmlhttp_rpc.send(null);