mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:35:56 +00:00
add some piggy-backed counters to improve reliability
This commit is contained in:
@@ -210,11 +210,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* if ($mode != "prefetch_old") {
|
||||
if ($mode != "prefetch_old") {
|
||||
print "<counters>";
|
||||
getAllCounters($link, $omode);
|
||||
print "</counters>";
|
||||
} */
|
||||
}
|
||||
|
||||
print "</reply>";
|
||||
break; // view
|
||||
@@ -288,11 +288,11 @@
|
||||
|
||||
if ($_GET["debug"]) $timing_info = print_checkpoint("20", $timing_info);
|
||||
|
||||
/* if (time() - $_SESSION["get_all_counters_stamp"] > 300) {
|
||||
if (time() - $_SESSION["get_all_counters_stamp"] > 300) {
|
||||
print "<counters>";
|
||||
getAllCounters($link, $omode, $feed);
|
||||
print "</counters>";
|
||||
} */
|
||||
}
|
||||
|
||||
if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user