This commit is contained in:
2023-11-25 17:46:47 +08:00
parent b3fd42d076
commit 6a9114fd9a
+3 -1
View File
@@ -154,7 +154,9 @@ SCRIPT;
} catch (\Throwable $throwable) { } catch (\Throwable $throwable) {
return trigger_print_error(throwable($throwable)); return trigger_print_error(throwable($throwable));
} finally { } finally {
$this->pool()->push($this->host, $client); if ($client->ping('h') == 'h') {
$this->pool()->push($this->host, $client);
}
} }
} }