viewfeed: enable counters reply, but with rate limit (180 sec)
This commit is contained in:
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…
Reference in New Issue