From e07aec924ed3ffd63adca50a9cf07f9bd2dbc517 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 17 Jan 2009 15:15:43 +0100 Subject: [PATCH] tweak request_counters() rate limit --- feedlist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/feedlist.js b/feedlist.js index bc38c139..06fea27c 100644 --- a/feedlist.js +++ b/feedlist.js @@ -60,7 +60,7 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { // if (!offset) page_offset = 0; last_requested_article = 0; - counters_last_request = 0; + //counters_last_request = 0; if (feed == getActiveFeedId()) { cache_invalidate("F:" + feed); @@ -623,7 +623,7 @@ function request_counters() { // if (getInitParam("sync_counters") == "1" || // timestamp - counters_last_request > 10) { - if (timestamp - counters_last_request > 10) { + if (timestamp - counters_last_request > 15) { debug("scheduling request of counters..."); window.setTimeout("request_counters_real()", 1000); counters_last_request = timestamp; -- 2.39.5