view: more limiting tweaks
This commit is contained in:
parent
b9ce0ba169
commit
26b968cdf5
1 changed files with 1 additions and 1 deletions
|
@ -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>";
|
||||||
|
|
Loading…
Reference in a new issue