正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -5,7 +5,7 @@ | @@ -5,7 +5,7 @@ | ||
| 5 | $pm = new \Swoole\Process\Manager(); | 5 | $pm = new \Swoole\Process\Manager(); |
| 6 | 6 | ||
| 7 | // 启动业务进程 | 7 | // 启动业务进程 |
| 8 | -$pm->addBatch(5,function (\Swoole\Process\Pool $pool, int $worker_id){ | 8 | +$pm->addBatch(2,function (\Swoole\Process\Pool $pool, int $worker_id){ |
| 9 | //error_reporting(); | 9 | //error_reporting(); |
| 10 | include_once __DIR__."/../vendor/autoload.php"; | 10 | include_once __DIR__."/../vendor/autoload.php"; |
| 11 | 11 |
-
请 注册 或 登录 后发表评论