Skip to content

Commit

Permalink
Change Server default mode from SIMPLE_MODE to POOL_MODE
Browse files Browse the repository at this point in the history
  • Loading branch information
phroggar authored Apr 12, 2024
1 parent 8c4de5f commit b77522a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OpenSwoole/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class Server

private $onPipeMessage;

public function __construct(string $host, int $port = 0, int $mode = \OpenSwoole\Server::SIMPLE_MODE, int $sockType = \OpenSwoole\Constant::SOCK_TCP) {}
public function __construct(string $host, int $port = 0, int $mode = \OpenSwoole\Server::POOL_MODE, int $sockType = \OpenSwoole\Constant::SOCK_TCP) {}

public function __destruct() {}

Expand Down

0 comments on commit b77522a

Please sign in to comment.