From fbae93d8b9f9d9a02d4c288c71f424d2ddfe5c0a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 30 Sep 2007 04:13:27 +0100 Subject: [PATCH] fix hanged daemon notification (2) --- functions.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 59227200..84d045d8 100644 --- a/functions.php +++ b/functions.php @@ -2706,8 +2706,11 @@ $stamp = (int)read_stampfile("update_daemon.stamp"); +// $stamp_delta = time() - $stamp; +// print ""; + if ($stamp) { - if (time() - $stamp > 86400) { + if (time() - $stamp > 3600*3) { $stamp_check = 0; } else { $stamp_check = 1; -- 2.39.5