"worker_fetch_limit" is moved as well

This commit is contained in:
Michael 2023-12-03 22:49:35 +00:00
commit cb91800088
6 changed files with 267 additions and 249 deletions

View file

@ -608,10 +608,6 @@ return [
// If enabled, it prints out the number of running processes split by priority.
'worker_debug' => false,
// worker_fetch_limit (Integer)
// Number of worker tasks that are fetched in a single query.
'worker_fetch_limit' => 1,
// worker_fork (Boolean)
// Experimental setting. Use pcntl_fork to spawn a new worker process.
// Does not work when "worker_multiple_fetch" is enabled (Needs more testing)

View file

@ -269,6 +269,10 @@ return [
// Per default the systems tries delivering for 15 times before dropping it.
'worker_defer_limit' => 15,
// worker_fetch_limit (Integer)
// Number of worker tasks that are fetched in a single query.
'worker_fetch_limit' => 1,
// worker_load_cooldown (Integer)
// Maximum load that causes a cooldown before each worker function call.
'worker_load_cooldown' => 0,