mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 05:35:55 +00:00
viewfeed: enable counters reply, but with rate limit (180 sec)
This commit is contained in:
@@ -288,9 +288,11 @@
|
|||||||
|
|
||||||
if ($_GET["debug"]) $timing_info = print_checkpoint("20", $timing_info);
|
if ($_GET["debug"]) $timing_info = print_checkpoint("20", $timing_info);
|
||||||
|
|
||||||
//print "<counters>";
|
if (time() - $_SESSION["get_all_counters_stamp"] > 180) {
|
||||||
//getAllCounters($link, $omode, $feed);
|
print "<counters>";
|
||||||
//print "</counters>";
|
getAllCounters($link, $omode, $feed);
|
||||||
|
print "</counters>";
|
||||||
|
}
|
||||||
|
|
||||||
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user