Merge pull request #6619 from annando/worker-again

Furtner improval of the worker speed
This commit is contained in:
Hypolite Petovan 2019-02-09 19:50:35 -05:00 committed by GitHub
commit b2c2971551
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 159 additions and 47 deletions

View file

@ -285,7 +285,7 @@ class Cron
Logger::log("Polling " . $contact["network"] . " " . $contact["id"] . " " . $contact['priority'] . " " . $contact["nick"] . " " . $contact["name"]);
Worker::add(['priority' => $priority, 'dont_fork' => true], 'OnePoll', (int)$contact['id']);
Worker::add(['priority' => $priority, 'dont_fork' => true, 'force_priority' => true], 'OnePoll', (int)$contact['id']);
}
}
}