Fix swoole task warning

This commit is contained in:
Matej Bačo
2024-11-25 11:04:04 +01:00
parent 8da2b249b7
commit 9d3bc1f80a
+1
View File
@@ -54,6 +54,7 @@ $http
'http_compression' => false,
'package_max_length' => $payloadSize,
'buffer_output_size' => $payloadSize,
'task_worker_num' => 1, // required for the task to fetch domains background
]);
$http->on(Constant::EVENT_WORKER_START, function ($server, $workerId) {