Browse Source

修改执行规则

lvhao 3 months ago
parent
commit
a8c1bd3c00
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/CoreApp/controllers/Apidsyskxcx.php

+ 2 - 2
core/CoreApp/controllers/Apidsyskxcx.php

@@ -73,7 +73,7 @@ class Apidsyskxcx extends Start_Controller
 
 
     private function _doRenwu()
     private function _doRenwu()
     {
     {
-        $list = $this->zzjobs->find_all("status = 0 and quque = 'ysgjcx'", "*",null, 0, 25);
+        $list = $this->zzjobs->find_all("status = 0 and quque = 'ysgjcx'", "*",null, 0, 40);
         if(empty($list)){
         if(empty($list)){
             exit("There is no executable data available");
             exit("There is no executable data available");
         }
         }
@@ -81,7 +81,7 @@ class Apidsyskxcx extends Start_Controller
         $this->db->query("update crowd_zzjobs set status = 10 where id  in (" . implode(",", $ids) . ")");
         $this->db->query("update crowd_zzjobs set status = 10 where id  in (" . implode(",", $ids) . ")");
         foreach ($list as $v) {
         foreach ($list as $v) {
             $this->doAction($v);
             $this->doAction($v);
-            sleep(2);
+            sleep(1);
         }
         }
     }
     }
     private function doAction($v)
     private function doAction($v)