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
We are working on an old version and the code is somewhat different now, but I believe idleTimeout does not behave appropriately when DISABLE_TIMEOUT is passed in.
We are working on an old version and the code is somewhat different now, but I believe
idleTimeout
does not behave appropriately whenDISABLE_TIMEOUT
is passed in.https://github.com/gajus/slonik/pull/340/files#r998013762 is relevant to the current version I am using. This causes
pg.Pool
to use its defaultidleTimeoutMillis
instead of disabling it.In the latest version (https://github.com/gajus/slonik/blob/7fd10b89602d9f8098616b797c971e71a8fae34d/src/factories/createPoolConfiguration.ts#L11C1-L36C3), the default value for
idleTimeout
increatePoolConfiguration
is set to10_000
. IfidleTimeout
is set toDISABLE_TIMEOUT
, the default value is not set to0
. This forces 10_000 when usingDISABLE_TIMEOUT
The text was updated successfully, but these errors were encountered: