Skip to content

Create an r2d2 pool of SyncConnectionWrapper #203

Answered by weiznich
JMLX42 asked this question in Q&A
Discussion options

You must be logged in to vote

This is expected behavior. The SyncConnectionWrapper exposes an async connection implementation. r2d2 is a sync connection pool implementation and therefore fundamentally incompatible with async connection implementations. You might want to use an async connection pool like deadpool, bb8 or mobc instead.

Replies: 1 comment

Comment options

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