改名
This commit is contained in:
@@ -75,6 +75,7 @@ class PDO
|
|||||||
$this->_timer = Timer::tick(1000, function () {
|
$this->_timer = Timer::tick(1000, function () {
|
||||||
try {
|
try {
|
||||||
if (env('state') == 'exit') {
|
if (env('state') == 'exit') {
|
||||||
|
echo 'timer end.' . PHP_EOL;
|
||||||
$this->stopHeartbeatCheck();
|
$this->stopHeartbeatCheck();
|
||||||
}
|
}
|
||||||
if (time() - $this->_last > 10 * 60) {
|
if (time() - $this->_last > 10 * 60) {
|
||||||
|
|||||||
Reference in New Issue
Block a user