mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 02:05:19 +02:00
Furtner improval of the worker speed
This commit is contained in:
parent
3aa77685fc
commit
171cfe8f44
4 changed files with 159 additions and 47 deletions
|
@ -39,8 +39,10 @@ function worker_init()
|
|||
Worker::callWorker();
|
||||
|
||||
$passing_slow = false;
|
||||
$entries = 0;
|
||||
$deferred = 0;
|
||||
|
||||
if ($r = Worker::workerProcess($passing_slow)) {
|
||||
if ($r = Worker::workerProcess($passing_slow, $entries, $deferred)) {
|
||||
// On most configurations this parameter wouldn't have any effect.
|
||||
// But since it doesn't destroy anything, we just try to get more execution time in any way.
|
||||
set_time_limit(0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue