mirror of https://github.com/citusdata/citus.git
Naive implementation for Optional connection concept
parent
a385c44f15
commit
ebb0ebc3c8
|
@ -211,8 +211,8 @@ WaitOrErrorForSharedConnection(const char *hostname, int port)
|
||||||
++counter;
|
++counter;
|
||||||
if (counter == 10)
|
if (counter == 10)
|
||||||
{
|
{
|
||||||
ereport(ERROR, (errmsg("citus.max_shared_pool_size connections are "
|
ereport(ERROR, (errmsg("citus.max_shared_pool_size number of connections "
|
||||||
"already established to the node %s:%d,"
|
"are already established to the node %s:%d,"
|
||||||
"so cannot establish any more connections",
|
"so cannot establish any more connections",
|
||||||
hostname, port),
|
hostname, port),
|
||||||
errhint("consider increasing "
|
errhint("consider increasing "
|
||||||
|
|
Loading…
Reference in New Issue