Skip to content

Commit 089214e

Browse files
dudeofawesomeporsager
authored andcommitted
✏️ fix CONNECT_TIMEOUT name
The `CONNECT_TIMEOUT` error's name is `CONNECT_TIMEOUT`, not `CONNECTION_CONNECT_TIMEOUT`.
1 parent 3374a8a commit 089214e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1303,8 +1303,8 @@ This error is thrown if the user has called [`sql.end()`](#teardown--cleanup) an
13031303
13041304
This error is thrown for any queries that were pending when the timeout to [`sql.end({ timeout: X })`](#teardown--cleanup) was reached.
13051305

1306-
##### CONNECTION_CONNECT_TIMEOUT
1307-
> write CONNECTION_CONNECT_TIMEOUT host:port
1306+
##### CONNECT_TIMEOUT
1307+
> write CONNECT_TIMEOUT host:port
13081308
13091309
This error is thrown if the startup phase of the connection (tcp, protocol negotiation, and auth) took more than the default 30 seconds or what was specified using `connect_timeout` or `PGCONNECT_TIMEOUT`.
13101310

0 commit comments

Comments
 (0)