projects
/
pgbouncer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776fd78
)
Mention max_client_conn in "no more" error message
author
Marko Kreen
<markokr@gmail.com>
Thu, 1 Sep 2011 08:43:12 +0000
(11:43 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Thu, 1 Sep 2011 08:43:12 +0000
(11:43 +0300)
src/client.c
patch
|
blob
|
blame
|
history
diff --git
a/src/client.c
b/src/client.c
index 305c8f24ced4a3ef2c034abb4e02b9cb6c369572..8d14937b9b61792c4aac1b091bb0e3c456a817bb 100644
(file)
--- a/
src/client.c
+++ b/
src/client.c
@@
-144,7
+144,7
@@
static bool decide_startup_pool(PgSocket *client, PktHdr *pkt)
get_active_client_count() counts it */
if (get_active_client_count() > cf_max_client_conn) {
if (strcmp(dbname, "pgbouncer") != 0) {
- disconnect_client(client, true, "no more connections allowed");
+ disconnect_client(client, true, "no more connections allowed
(max_client_conn)
");
return false;
}
}