This commit is contained in:
2021-03-01 17:23:00 +08:00
parent 4ab001b768
commit 81b6d160eb
+2 -2
View File
@@ -115,7 +115,7 @@ abstract class BaseApplication extends Service
$this->taskNumber = 0; $this->taskNumber = 0;
$this->state = 'SWOOLE_WORKER_IDLE'; $this->state = 'SWOOLE_WORKER_IDLE';
} }
var_dump($this->state); var_dump($this->taskNumber, $this->state);
return $this; return $this;
} }
@@ -132,7 +132,7 @@ abstract class BaseApplication extends Service
} else { } else {
$this->state = 'SWOOLE_WORKER_BUSY'; $this->state = 'SWOOLE_WORKER_BUSY';
} }
var_dump($this->state); var_dump($this->taskNumber, $this->state);
return $this; return $this;
} }