qqq
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ class Connection extends Component
|
|||||||
}
|
}
|
||||||
|
|
||||||
[$client, $time] = $data;
|
[$client, $time] = $data;
|
||||||
if ((time() - $time) < $this->timeout && $this->canUse($client)) {
|
if ((time() - $time) < $this->idle_time && $this->canUse($client)) {
|
||||||
return $client;
|
return $client;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user