From 86173d9a958ab2b2482d683fae3d7c8c627a3ba4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 7 Feb 2007 18:01:35 +0100 Subject: force timestamp hack to most main operations --- functions.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions.js') 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); -- cgit v1.2.3-54-g00ecf