From 06c88b8dc37dceb236f1c7eea795a86088fb6135 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 21 May 2008 05:19:03 +0100 Subject: add some piggy-backed counters to improve reliability --- backend.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backend.php') 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 ""; getAllCounters($link, $omode); print ""; - } */ + } print ""; 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 ""; getAllCounters($link, $omode, $feed); print ""; - } */ + } if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info); -- cgit v1.2.3-54-g00ecf