作者 邓超

xxx

... ... @@ -15,7 +15,7 @@ function start(){
$pm = new Process\Manager();
// 启动业务进程
$pm->addBatch(WORKER_NUM,function (Process\Pool $pool, int $worker_id){
$pm->addBatch(10,function (Process\Pool $pool, int $worker_id){
_echo("业务进程({$worker_id})启动成功");
swoole_set_process_name('php-email-sync-list-'.$worker_id);
... ...