summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2011-02-18 02:07:56 -0500
committerspiderr <spider@viovio.com>2011-02-18 02:07:56 -0500
commit32152ac2fdf73d968144a5c1a1d0754378ede762 (patch)
treef33ac7be17559e60ba716787946bc3a56189e3e2
parenta6bd0ecc3979d52a6549cb418f77484bd512f06c (diff)
downloadutil-32152ac2fdf73d968144a5c1a1d0754378ede762.tar.gz
util-32152ac2fdf73d968144a5c1a1d0754378ede762.tar.bz2
util-32152ac2fdf73d968144a5c1a1d0754378ede762.zip
hush update touch pid log
-rw-r--r--daemonize/daemonize_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemonize/daemonize_lib.php b/daemonize/daemonize_lib.php
index 0923584..d6a16da 100644
--- a/daemonize/daemonize_lib.php
+++ b/daemonize/daemonize_lib.php
@@ -16,7 +16,7 @@ function daemonize_refresh( $pPidfile ) {
global $gDaemonTouchTimer;
static $ticks = 0;
if ($gDaemonTouchTimer + 15 < time()) { // So the revivifier can tell we've hung.
- if( ($ticks % 4) == 0 ) {
+ if( ($ticks % 10) == 0 ) {
// keep the noise down and only log a message once per minute
echo date( 'd/M/Y:H:i:s O' )." - DAEMON ".getmypid()." : Touching the file $pPidfile to ".time()."\n";
}