作者 邓超

1

@@ -23,7 +23,7 @@ function start(){ @@ -23,7 +23,7 @@ function start(){
23 23
24 \Swoole\Timer::tick(1000,function() use(&$pool){ 24 \Swoole\Timer::tick(1000,function() use(&$pool){
25 25
26 - if(redis()->getOriginData('email_sync_stop_num') >= WORKER_NUM+2 ){ 26 + if(redis()->getOriginData('email_sync_stop_num') >= WORKER_NUM+1 ){
27 $pool->shutdown(); 27 $pool->shutdown();
28 } 28 }
29 29