From bafa26c060bd198eb55cdb7a205eb1a8c98133f3 Mon Sep 17 00:00:00 2001 From: Michael Date: Tue, 13 Jun 2017 22:25:24 +0000 Subject: [PATCH] We don't need the timeout there anymore --- include/poller.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/poller.php b/include/poller.php index dbfc51100f..ef6fbd69de 100644 --- a/include/poller.php +++ b/include/poller.php @@ -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);