This commit is contained in:
2023-08-24 14:05:00 +08:00
parent c86d6791c9
commit 58cbfce778
+1 -1
View File
@@ -160,7 +160,7 @@ class Connection extends Component
}
[$client, $time] = $data;
file_put_contents('php://output', ((time() - $time) . ' ' . $this->idle_time) . PHP_EOL, 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)) {
return $client;
}