Replies: 1 comment
-
Depends on your request load and usage pattern. Without more code and context it is really hard to give proper recommendations (the reason you did not receive an answer earlier) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a AppState struct with a pool inside of it, then i extract that state with the State extractor in axum, then use the pool in that request/function. Is this ok? I also use PgListener to listen to events and then send updates on a websocket. I'm asking because i get this error after a minute of the server running:
pool timed out while waiting for an open connection
.Beta Was this translation helpful? Give feedback.
All reactions