| 
...
 | 
...
 | 
@@ -26,7 +26,7 @@ class SendJob { | 
| 
 | 
 | 
     private function isStop(){
 | 
| 
 | 
 | 
         // 运行超过1天的 停止
 | 
| 
 | 
 | 
         if($this->run_timer < (time()-43200)){
 | 
| 
 | 
 | 
             @posix_kill(getmypid(), SIGTERM);
 | 
| 
 | 
 | 
 //            @posix_kill(getmypid(), SIGTERM);
 | 
| 
 | 
 | 
             return true;
 | 
| 
 | 
 | 
         }
 | 
| 
 | 
 | 
         return redis()->get('send_job_is_stop') == 'stop';
 | 
...
 | 
...
 | 
 |