1
1
Fork 0

We don't need the timeout there anymore

This commit is contained in:
Michael 2017-06-13 22:25:24 +00:00
parent a7526f1291
commit bafa26c060

View file

@ -652,10 +652,7 @@ function poller_worker_process() {
$stamp = (float)microtime(true); $stamp = (float)microtime(true);
$timeout = 10; $found = find_worker_processes();
do {
$found = find_worker_processes();
} while (!$found && (poller_total_entries() > 0) && (--$timeout > 0));
logger('Duration: '.number_format(microtime(true) - $stamp, 3), LOGGER_DEBUG); logger('Duration: '.number_format(microtime(true) - $stamp, 3), LOGGER_DEBUG);