From: Marko Kreen Date: Thu, 1 Sep 2011 08:43:12 +0000 (+0300) Subject: Mention max_client_conn in "no more" error message X-Git-Tag: pgbouncer_1_5_rc1~58 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26ce2e1e22fab6b306063c28071c636a6f3c8f6f;p=pgbouncer Mention max_client_conn in "no more" error message --- diff --git a/src/client.c b/src/client.c index 305c8f2..8d14937 100644 --- 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; } }