mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:25:55 +00:00
view: more limiting tweaks
This commit is contained in:
@@ -240,7 +240,7 @@
|
|||||||
|
|
||||||
// if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) {
|
// if (get_pref($link, "SYNC_COUNTERS") || ($mode == "prefetch" && $csync)) {
|
||||||
|
|
||||||
if (time() - $_SESSION["view:counters_stamp"] > 5) {
|
if (time() - $_SESSION["view:counters_stamp"] > 5 && $mode == "prefetch") {
|
||||||
print "<counters>";
|
print "<counters>";
|
||||||
getAllCounters($link, $omode);
|
getAllCounters($link, $omode);
|
||||||
print "</counters>";
|
print "</counters>";
|
||||||
|
|||||||
Reference in New Issue
Block a user