Skip to content

Is it possible to have a single, shared connection? #4431

Answered by mjanda
sergi0g asked this question in Q&A
Discussion options

You must be logged in to vote

You shold be using some connection pool that will keep those connections open for you.

https://docs.diesel.rs/2.2.x/diesel/r2d2/index.html

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@weiznich
Comment options

Answer selected by sergi0g
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants