diff options
| author | spiderr <spider@viovio.com> | 2011-02-18 02:07:56 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2011-02-18 02:07:56 -0500 |
| commit | 32152ac2fdf73d968144a5c1a1d0754378ede762 (patch) | |
| tree | f33ac7be17559e60ba716787946bc3a56189e3e2 | |
| parent | a6bd0ecc3979d52a6549cb418f77484bd512f06c (diff) | |
| download | util-32152ac2fdf73d968144a5c1a1d0754378ede762.tar.gz util-32152ac2fdf73d968144a5c1a1d0754378ede762.tar.bz2 util-32152ac2fdf73d968144a5c1a1d0754378ede762.zip | |
hush update touch pid log
| -rw-r--r-- | daemonize/daemonize_lib.php | 2 |
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"; } |
