作者 邓超

job

... ... @@ -8,10 +8,10 @@ $pm = new \Swoole\Process\Manager();
$pm->addBatch(3,function (\Swoole\Process\Pool $pool, int $worker_id){
if($worker_id===0){
$i=600;
$i=300;
while($i>0){
$i--;
co::sleep(1);
co::sleep(5);
}
$pool->shutdown();
... ...