You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -578,6 +579,11 @@ This error is thrown if the user has called [`sql.end()`](#sql_end) and performe
578
579
579
580
This error is thrown for any queries that were pending when the timeout to [`sql.end({ timeout: X })`](#sql_destroy) was reached.
580
581
582
+
##### CONNECTION_CONNECT_TIMEOUT
583
+
> write CONNECTION_CONNECT_TIMEOUT host:port
584
+
585
+
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`.
586
+
581
587
## Migration tools
582
588
583
589
Postgres.js doesn't come with any migration solution since it's way out of scope, but here are some modules that supports Postgres.js for migrations:
idle_timeout : o.idle_timeout||url.query.idle_timeout||env.PGIDLE_TIMEOUT||warn(o.timeout,'The timeout option is deprecated, use idle_timeout instead'),
0 commit comments