2018-11-24 01:43:48 -06:00
|
|
|
<?php
|
2019-10-05 10:26:10 -05:00
|
|
|
|
2018-11-24 01:43:48 -06:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
2020-01-01 14:11:53 -06:00
|
|
|
'mezzio-swoole' => [
|
2020-05-01 11:24:48 -05:00
|
|
|
// Setting this to true can have unexpected behaviors when running several concurrent slow DB queries
|
|
|
|
'enable_coroutine' => false,
|
2018-11-24 01:43:48 -06:00
|
|
|
|
|
|
|
'swoole-http-server' => [
|
|
|
|
'host' => '0.0.0.0',
|
2018-11-29 14:14:24 -06:00
|
|
|
'process-name' => 'shlink',
|
2019-07-14 03:46:31 -05:00
|
|
|
|
|
|
|
'options' => [
|
|
|
|
'worker_num' => 16,
|
|
|
|
'task_worker_num' => 16,
|
|
|
|
],
|
2018-11-24 01:43:48 -06:00
|
|
|
],
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|