Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upNo timeout when connecting to database #832
Comments
This comment has been minimized.
|
You can specify the timeout in the connection URL. https://www.postgresql.org/docs/9.4/static/libpq-connect.html#LIBPQ-CONNSTRING |
sgrif
closed this
Mar 30, 2017
This comment has been minimized.
|
Thanks, I wasn't aware of that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dbrgn commentedMar 30, 2017
•
edited
It seems that PgConnection::establish(..) never times out when using it with a non-existing database, is that intended?
A (configurable) timeout would probably be needed here.