Merge pull request #9025 from appwrite/fix-tasks-warning

Fix: swoole task warning
This commit is contained in:
Steven Nguyen 2024-11-25 07:07:09 -08:00 committed by GitHub
commit fb4c71aebb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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) {