summaryrefslogtreecommitdiff
path: root/feedlist.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-07-23 04:55:35 +0100
committerAndrew Dolgov <[email protected]>2008-07-23 04:55:35 +0100
commitd234a2e39d18e685f3ed76ceca2f30f3bfa0eb18 (patch)
treede3722a1e0aea66f1d2bf5a892ca6ec12a822e00 /feedlist.js
parent3e6623a99acbabf4250001e9a81263c5dc5f12af (diff)
new option: SYNC_COUNTERS (bump schema)
Diffstat (limited to 'feedlist.js')
-rw-r--r--feedlist.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js
index 5ae604493..1f851e0e8 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -542,7 +542,11 @@ function request_counters() {
var date = new Date();
var timestamp = Math.round(date.getTime() / 1000);
+// if (getInitParam("sync_counters") == "1" ||
+// timestamp - counters_last_request > 10) {
+
if (timestamp - counters_last_request > 10) {
+
debug("scheduling request of counters...");
window.setTimeout("request_counters_real()", 1000);
counters_last_request = timestamp;