diff --git a/phpunit.php b/phpunit.php index a4418ab6..a7783b0d 100644 --- a/phpunit.php +++ b/phpunit.php @@ -52,11 +52,15 @@ public static function afterRequest(Request $request, Response $response): void 'RUN_MODEL' => SWOOLE_PROCESS, 'SETTING' => [ 'worker_num' => 8, - 'task_worker_num' => 8, 'reload_async' => true, 'task_enable_coroutine' => true, 'max_wait_time'=>3 ], + 'TASK'=>[ + 'workerNum'=>4, + 'maxRunningNum'=>128, + 'timeout'=>15 + ] ], 'TEMP_DIR' => null, 'LOG_DIR' => null