vali %!s(int64=6) %!d(string=hai) anos
pai
achega
9a8f318670
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      datainf/logic/HttpServerSettelement.php

+ 1 - 1
datainf/logic/HttpServerSettelement.php

@@ -102,7 +102,7 @@ class HttpServerSettelement
             return;
         }
 
-        if ($this->httpserver->taskWorkingNum->get() > 0) {
+        if ($this->httpserver->taskWorkingNum->get() > intval($this->config['sets']['worker_num'])) {
             $data = Response::generate('', 9, '', '还有未完成任务请稍等...' . $this->httpserver->taskWorkingNum->get());
             $response->end($data);
             return;