...
|
...
|
@@ -5,7 +5,7 @@ |
|
|
$pm = new \Swoole\Process\Manager();
|
|
|
|
|
|
// 启动业务进程
|
|
|
$pm->addBatch(5,function (\Swoole\Process\Pool $pool, int $worker_id){
|
|
|
$pm->addBatch(2,function (\Swoole\Process\Pool $pool, int $worker_id){
|
|
|
//error_reporting();
|
|
|
include_once __DIR__."/../vendor/autoload.php";
|
|
|
|
...
|
...
|
|