This commit is contained in:
2023-08-24 12:11:23 +08:00
parent 76d75806e5
commit d3dacf96df
+1 -1
View File
@@ -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;
} }