Remove test message
This commit is contained in:
parent
8be52424f5
commit
dc00d89b9a
|
@ -50,7 +50,6 @@ function poller_run($argv, $argc){
|
||||||
// Kill stale processes every 5 minutes
|
// Kill stale processes every 5 minutes
|
||||||
$last_cleanup = Config::get('system', 'poller_last_cleaned', 0);
|
$last_cleanup = Config::get('system', 'poller_last_cleaned', 0);
|
||||||
if (time() > ($last_cleanup + 300)) {
|
if (time() > ($last_cleanup + 300)) {
|
||||||
logger('CLEAN: '.time().' > '.($last_cleanup + 300).' - '.$last_cleanup);
|
|
||||||
Config::set('system', 'poller_last_cleaned', time());
|
Config::set('system', 'poller_last_cleaned', time());
|
||||||
poller_kill_stale_workers();
|
poller_kill_stale_workers();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue