github gajus/slonik @slonik/errors@49.15.0

latest releases: @slonik/dataloaders@49.15.0, @slonik/utilities@49.15.0, slonik-interceptor-field-name-transformation@49.15.0...
one hour ago

Minor Changes

  • e905699 Thanks @gajus! - add socketTimeout configuration, which closes a connection if the server does not send any data for that long while a query is in progress, e.g. because a proxy stopped forwarding traffic without closing the connection. The query fails with SocketTimeoutError and the pool replaces the connection. The timeout restarts whenever data arrives, so queries and streams that keep returning rows are not closed, and it does not apply while a connection is idle (in the pool, or held between queries) or while a stream waits for its consumer. It is disabled by default.

Patch Changes

  • Updated dependencies []:
    • @slonik/types@49.15.0

Don't miss a new slonik release

NewReleases is sending notifications on new releases.