Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Commands/StartSwooleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ protected function defaultServerOptions(SwooleExtension $extension)
// Randomize worker recycling so all busy workers do not restart together.
'max_request_grace' => $this->maxRequestGrace(),

// Max size of request/response package (10MB)
'package_max_length' => 10 * 1024 * 1024,
// Max size of request/response package (20MB)
'package_max_length' => 20 * 1024 * 1024,

// Number of reactor threads (set to CPU count for optimal performance)
'reactor_num' => $this->workerCount($extension),
Expand Down
Loading