diff --git a/backend.php b/backend.php index a6cb18a49..692f35ff5 100644 --- a/backend.php +++ b/backend.php @@ -288,9 +288,11 @@ if ($_GET["debug"]) $timing_info = print_checkpoint("20", $timing_info); - //print ""; - //getAllCounters($link, $omode, $feed); - //print ""; + if (time() - $_SESSION["get_all_counters_stamp"] > 180) { + print ""; + getAllCounters($link, $omode, $feed); + print ""; + } if ($_GET["debug"]) $timing_info = print_checkpoint("30", $timing_info);