Use class constant
This commit is contained in:
parent
5e51ab95fb
commit
4c52772d84
2 changed files with 12 additions and 5 deletions
|
@ -653,11 +653,11 @@ return [
|
|||
// worker_max_duration (Array)
|
||||
// Maximum runtime per priority. Worker processes that exceed this runtime will be terminated.
|
||||
'worker_max_duration' => [
|
||||
PRIORITY_CRITICAL => 720,
|
||||
PRIORITY_HIGH => 10,
|
||||
PRIORITY_MEDIUM => 60,
|
||||
PRIORITY_LOW => 180,
|
||||
PRIORITY_NEGLIGIBLE => 720
|
||||
Friendica\Core\Worker::PRIORITY_CRITICAL => 720,
|
||||
Friendica\Core\Worker::PRIORITY_HIGH => 10,
|
||||
Friendica\Core\Worker::PRIORITY_MEDIUM => 60,
|
||||
Friendica\Core\Worker::PRIORITY_LOW => 180,
|
||||
Friendica\Core\Worker::PRIORITY_NEGLIGIBLE => 720
|
||||
],
|
||||
|
||||
// worker_processes_cooldown (Integer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue