summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2011-03-21 22:36:28 -0400
committerspiderr <spider@viovio.com>2011-03-21 22:36:28 -0400
commitb88538fc9cc9c42e0401fe696d201ed855d7da44 (patch)
tree7d3fe2341933667e59e2563c9789ec0e8aafb8cc
parenta30b8a6f0a724358dabd35e6954a634be4cd5ec0 (diff)
parent32152ac2fdf73d968144a5c1a1d0754378ede762 (diff)
downloadutil-b88538fc9cc9c42e0401fe696d201ed855d7da44.tar.gz
util-b88538fc9cc9c42e0401fe696d201ed855d7da44.tar.bz2
util-b88538fc9cc9c42e0401fe696d201ed855d7da44.zip
Merge branch 'master' of github.com:bitweaver/util
-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";
}