mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
getLabelCounters: skip processing when labels are disabled; misc performance tweaks
This commit is contained in:
@@ -358,7 +358,7 @@
|
||||
// }
|
||||
|
||||
if (get_pref($link, 'COMBINED_DISPLAY_MODE') || $subop ||
|
||||
time() - $_SESSION["viewfeed:counters_stamp"] > 30) {
|
||||
time() - $_SESSION["viewfeed:counters_stamp"] > 60) {
|
||||
if (!$offset) {
|
||||
print "<counters>";
|
||||
getAllCounters($link, $omode, $feed);
|
||||
|
||||
Reference in New Issue
Block a user