diff options
| author | Christian Fowler <spider@viovio.com> | 2011-03-23 13:51:44 -0400 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2011-03-23 13:51:44 -0400 |
| commit | 6b025c025b2ca0568f737cacfc192b999a8ef955 (patch) | |
| tree | 3e0e88e5d774c02574181ac394f4693d8d8b53b4 | |
| parent | 0058b3af457a580e5f75a00a7009175d48d92b84 (diff) | |
| download | util-6b025c025b2ca0568f737cacfc192b999a8ef955.tar.gz util-6b025c025b2ca0568f737cacfc192b999a8ef955.tar.bz2 util-6b025c025b2ca0568f737cacfc192b999a8ef955.zip | |
crank down noise of DAEMON touch to once every 5 minutes
| -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 d6a16da..9996fed 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 % 10) == 0 ) { + if( ($ticks % 600) == 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"; } |
