We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a06fc4 commit 48cff1fCopy full SHA for 48cff1f
.circleci/pgcat.toml
@@ -14,7 +14,7 @@ port = 6432
14
# How long to wait before aborting a server connection (ms).
15
connect_timeout = 100
16
17
-# How much time to give `SELECT 1` health check query to return with a result (ms).
+# How much time to give the health check query to return with a result (ms).
18
healthcheck_timeout = 100
19
20
# For how long to ban a server if it fails a health check (seconds).
src/pool.rs
@@ -328,7 +328,7 @@ impl ConnectionPool {
328
329
match tokio::time::timeout(
330
tokio::time::Duration::from_millis(healthcheck_timeout),
331
- server.query("SELECT 1"),
+ server.query(";"),
332
)
333
.await
334
{
0 commit comments