viewfeed: enable counters reply, but with rate limit (180 sec)

master
Andrew Dolgov 17 years ago
parent 94047498ff
commit 9e70f3b3ff

@ -288,9 +288,11 @@
if ($_GET["debug"]) $timing_info = print_checkpoint("20", $timing_info);
//print "<counters>";
//getAllCounters($link, $omode, $feed);
//print "</counters>";
if (time() - $_SESSION["get_all_counters_stamp"] > 180) {
print "<counters>";
getAllCounters($link, $omode, $feed);
print "</counters>";
}
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);

Loading…
Cancel
Save