]> git.mxchange.org Git - friendica.git/commitdiff
We don't need the timeout there anymore
authorMichael <heluecht@pirati.ca>
Tue, 13 Jun 2017 22:25:24 +0000 (22:25 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 13 Jun 2017 22:25:24 +0000 (22:25 +0000)
include/poller.php

index dbfc51100fae23f1ac1849e8f23c0aea3118cf25..ef6fbd69de1d44bc9d8966fd87776a928d14c7c7 100644 (file)
@@ -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);