diff options
author | Andrew Dolgov <[email protected]> | 2007-09-30 04:13:27 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-09-30 04:13:27 +0100 |
commit | fbae93d8b9f9d9a02d4c288c71f424d2ddfe5c0a (patch) | |
tree | 72e5c632676d8a678b3f14782e57d54d86255624 /functions.php | |
parent | f6854e447ba9d45638c0f3a905b6d131a26414fd (diff) |
fix hanged daemon notification (2)
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 592272000..84d045d85 100644 --- a/functions.php +++ b/functions.php @@ -2706,8 +2706,11 @@ $stamp = (int)read_stampfile("update_daemon.stamp"); +// $stamp_delta = time() - $stamp; +// print "<param key=\"daemon_stamp_delta\" value=\"$stamp_delta\"/>"; + if ($stamp) { - if (time() - $stamp > 86400) { + if (time() - $stamp > 3600*3) { $stamp_check = 0; } else { $stamp_check = 1; |