mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 06:35:15 +00:00
Typo
This commit is contained in:
parent
a03c3d5480
commit
1fb2de6d55
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ function poller_run($argv, $argc){
|
|||
if(! $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';
|
||||
if ((file_exists($lockfile)) && (filemtime($lockfile) > (time() - 3600))) {
|
||||
logger("poller: Already running");
|
||||
|
|
Loading…
Reference in a new issue