Skip to content

Commit

Permalink
Merge pull request #1779 from bakaphp/feat-octane-frankenphp
Browse files Browse the repository at this point in the history
feat: Add swoole config,host and port
  • Loading branch information
rwhite27 authored Aug 5, 2024
2 parents f127d25 + d31ee89 commit 3bcd950
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion config/octane.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,17 @@

return [

'host' => "0.0.0.0",
'port' => "8000",
'swoole' => [
'options' => [
'worker_num' => 8,
'task_worker_num' => 4,
'enable_coroutine' => true,
'max_request' => 1000,
],
],

/*
|--------------------------------------------------------------------------
| Octane Server
Expand Down Expand Up @@ -217,5 +228,4 @@
*/

'max_execution_time' => 30,

];

0 comments on commit 3bcd950

Please sign in to comment.