summaryrefslogtreecommitdiff
path: root/backend.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-05-21 05:19:03 +0100
committerAndrew Dolgov <[email protected]>2008-05-21 05:19:03 +0100
commit06c88b8dc37dceb236f1c7eea795a86088fb6135 (patch)
tree24876d81b67a71d280f8a9a9753b3aec1445d659 /backend.php
parent9922d56bbebb29d3ae1fe13e7b6df7f0c9376841 (diff)
add some piggy-backed counters to improve reliability
Diffstat (limited to 'backend.php')
-rw-r--r--backend.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/backend.php b/backend.php
index 94a63dae1..20411cc0a 100644
--- a/backend.php
+++ b/backend.php
@@ -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);