This commit is contained in:
as2252258@163.com
2021-04-24 20:34:35 +08:00
parent 3ffd691b4a
commit 263b09fd51
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class Async extends Component
$randWorkerId = random_int(0, $server->setting['task_worker_num'] - 1);
$server->task(swoole_serialize([$class, 'onHandler']), $randWorkerId);
$server->task(serialize($class), $randWorkerId);
}
}