1
0
Fork 0
mirror of synced 2024-06-29 11:40:45 +12:00

Add comment for payload size

This commit is contained in:
Khushboo Verma 2024-05-09 15:11:02 +05:30
parent e583f44147
commit cd6878c597

View file

@ -32,7 +32,7 @@ $http = new Server(
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));
$http