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