mirror of
https://github.com/friendica/friendica
synced 2025-04-26 19:50:10 +00:00
Poller: A limit of 1 seems to be better
This commit is contained in:
parent
dc6593f418
commit
03c9e22334
2 changed files with 2 additions and 2 deletions
|
@ -690,7 +690,7 @@ function find_worker_processes(&$passing_slow) {
|
|||
// The higher the number of parallel workers, the more we prefetch to prevent concurring access
|
||||
// We decrease the limit with the number of entries left in the queue
|
||||
$worker_queues = Config::get("system", "worker_queues", 4);
|
||||
$queue_length = Config::get('system', 'worker_fetch_limit', $worker_queues);
|
||||
$queue_length = Config::get('system', 'worker_fetch_limit', 1);
|
||||
$lower_job_limit = $worker_queues * $queue_length * 2;
|
||||
$jobs = poller_total_entries();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue