Skip to content

Commit

Permalink
Merge pull request LesnyRumcajs#173 from Alban-io/swoole-add-http-worker
Browse files Browse the repository at this point in the history
Add http worker on PHP Swoole
  • Loading branch information
Trisfald authored Jan 9, 2022
2 parents 5850e29 + aab0305 commit 841cf9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion php_swoole_grpc_bench/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM phpswoole/swoole:php8.0-alpine
FROM phpswoole/swoole:php8.1-alpine

WORKDIR /app

Expand Down
2 changes: 1 addition & 1 deletion php_swoole_grpc_bench/server.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

$http = new Swoole\Http\Server('0.0.0.0', 50051, SWOOLE_BASE);
$http->set([
'trace_flags' => 0,
'worker_num' => swoole_cpu_num(),
'log_file' => '/dev/null',
'log_level' => 5,
'open_http2_protocol' => true
Expand Down

0 comments on commit 841cf9e

Please sign in to comment.