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
Run serve and make a request to an endpoint that performs a query
Stop postgres
Perform the request again, and observe the logged error: [ ERROR ] connection reset (error set): Connection refused (errno: 61)
Start postgres again
Perform the request again, this time the process exists with: Assertion failed: PostgresConnection deinitialized before being closed.: file /Users/ian/code/streambuddy/.build/checkouts/postgres-nio/Sources/PostgresNIO/Connection/PostgresConnection.swift, line 42
Expected outcome: serve gracefully handles the restart and makes a new connection to postgres.
Actual outcome: serve exits.
The text was updated successfully, but these errors were encountered:
Reproduction:
serve
and make a request to an endpoint that performs a query[ ERROR ] connection reset (error set): Connection refused (errno: 61)
Assertion failed: PostgresConnection deinitialized before being closed.: file /Users/ian/code/streambuddy/.build/checkouts/postgres-nio/Sources/PostgresNIO/Connection/PostgresConnection.swift, line 42
Expected outcome:
serve
gracefully handles the restart and makes a new connection to postgres.Actual outcome:
serve
exits.The text was updated successfully, but these errors were encountered: