We don't need the timeout there anymore
This commit is contained in:
parent
a7526f1291
commit
bafa26c060
1 changed files with 1 additions and 4 deletions
|
@ -652,10 +652,7 @@ function poller_worker_process() {
|
|||
|
||||
$stamp = (float)microtime(true);
|
||||
|
||||
$timeout = 10;
|
||||
do {
|
||||
$found = find_worker_processes();
|
||||
} while (!$found && (poller_total_entries() > 0) && (--$timeout > 0));
|
||||
$found = find_worker_processes();
|
||||
|
||||
logger('Duration: '.number_format(microtime(true) - $stamp, 3), LOGGER_DEBUG);
|
||||
|
||||
|
|
Loading…
Reference in a new issue