This commit is contained in:
2023-08-24 14:02:58 +08:00
parent 636c96b73c
commit c86d6791c9
+1 -1
View File
@@ -160,7 +160,7 @@ class Connection extends Component
} }
[$client, $time] = $data; [$client, $time] = $data;
file_put_contents('php://output', ((time() - $time) . ' ' . $this->idle_time), FILE_APPEND); file_put_contents('php://output', ((time() - $time) . ' ' . $this->idle_time) . PHP_EOL, FILE_APPEND);
if ((time() - $time) < $this->idle_time && $this->canUse($client)) { if ((time() - $time) < $this->idle_time && $this->canUse($client)) {
return $client; return $client;
} }