Add comment for payload size
This commit is contained in:
parent
e583f44147
commit
cd6878c597
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ $http = new Server(
|
||||||
mode: SWOOLE_PROCESS,
|
mode: SWOOLE_PROCESS,
|
||||||
);
|
);
|
||||||
|
|
||||||
$payloadSize = 12 * (1024 * 1024); // 12MB
|
$payloadSize = 12 * (1024 * 1024); // 12MB - adding slight buffer for headers and other data that might be sent with the payload - update later with valid testing
|
||||||
$workerNumber = swoole_cpu_num() * intval(System::getEnv('_APP_WORKER_PER_CORE', 6));
|
$workerNumber = swoole_cpu_num() * intval(System::getEnv('_APP_WORKER_PER_CORE', 6));
|
||||||
|
|
||||||
$http
|
$http
|
||||||
|
|
Loading…
Reference in a new issue