modify plugin name
This commit is contained in:
+1
-3
@@ -225,9 +225,7 @@ class PDO implements StopHeartbeatCheck
|
|||||||
public function check(): bool
|
public function check(): bool
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
if ($this->_last == 0) {
|
if ($this->_last == 0) $this->_last = time();
|
||||||
$this->_last = time();
|
|
||||||
}
|
|
||||||
if (time() - $this->_last >= 600) {
|
if (time() - $this->_last >= 600) {
|
||||||
throw new Exception('Idle dis.');
|
throw new Exception('Idle dis.');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user