modify plugin name

This commit is contained in:
2022-06-17 15:09:10 +08:00
parent 1314ccc421
commit a6c59331af
+1 -3
View File
@@ -225,9 +225,7 @@ class PDO implements StopHeartbeatCheck
public function check(): bool
{
try {
if ($this->_last == 0) {
$this->_last = time();
}
if ($this->_last == 0) $this->_last = time();
if (time() - $this->_last >= 600) {
throw new Exception('Idle dis.');
}