fix hanged daemon notification (2)
This commit is contained in:
parent
f6854e447b
commit
fbae93d8b9
|
@ -2706,8 +2706,11 @@
|
||||||
|
|
||||||
$stamp = (int)read_stampfile("update_daemon.stamp");
|
$stamp = (int)read_stampfile("update_daemon.stamp");
|
||||||
|
|
||||||
|
// $stamp_delta = time() - $stamp;
|
||||||
|
// print "<param key=\"daemon_stamp_delta\" value=\"$stamp_delta\"/>";
|
||||||
|
|
||||||
if ($stamp) {
|
if ($stamp) {
|
||||||
if (time() - $stamp > 86400) {
|
if (time() - $stamp > 3600*3) {
|
||||||
$stamp_check = 0;
|
$stamp_check = 0;
|
||||||
} else {
|
} else {
|
||||||
$stamp_check = 1;
|
$stamp_check = 1;
|
||||||
|
|
Loading…
Reference in New Issue