Typo
This commit is contained in:
parent
a03c3d5480
commit
1fb2de6d55
@ -25,7 +25,7 @@ function poller_run($argv, $argc){
|
|||||||
if(! $interval)
|
if(! $interval)
|
||||||
$interval = ((get_config('system','delivery_interval') === false) ? 3 : intval(get_config('system','delivery_interval')));
|
$interval = ((get_config('system','delivery_interval') === false) ? 3 : intval(get_config('system','delivery_interval')));
|
||||||
|
|
||||||
// Check for a logfile. If it exists, but is over an hour old, it's stale. Ignore it.
|
// Check for a lockfile. If it exists, but is over an hour old, it's stale. Ignore it.
|
||||||
$lockfile = 'store/[data]/poller';
|
$lockfile = 'store/[data]/poller';
|
||||||
if ((file_exists($lockfile)) && (filemtime($lockfile) > (time() - 3600))) {
|
if ((file_exists($lockfile)) && (filemtime($lockfile) > (time() - 3600))) {
|
||||||
logger("poller: Already running");
|
logger("poller: Already running");
|
||||||
|
Reference in New Issue
Block a user