viewfeed: enable counters reply, but with rate limit (180 sec)
This commit is contained in:
parent
94047498ff
commit
9e70f3b3ff
1 changed files with 5 additions and 3 deletions
|
@ -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 a new issue