作者 邓超

解析

@@ -15,7 +15,7 @@ function start(){ @@ -15,7 +15,7 @@ function start(){
15 $pm = new Process\Manager(); 15 $pm = new Process\Manager();
16 16
17 // 启动业务进程 17 // 启动业务进程
18 - $pm->addBatch(30,function (Process\Pool $pool, int $worker_id){ 18 + $pm->addBatch(10,function (Process\Pool $pool, int $worker_id){
19 19
20 swoole_set_process_name('php-email-sync-list-'.$worker_id); 20 swoole_set_process_name('php-email-sync-list-'.$worker_id);
21 21