I need a simple redis pool for actix server, so it'd be async. How can I achieve that, because r2d2 is not providing async feature although redis crate has get_connection async() method on Client.
R2d2 is a non-async pool. Use an async one such as bb8 or deadpool. Maybe actix-web even comes with a pool built in? I don't know for sure, though.
That'd be a solution, I found your other solutions on this forum helpful too, thank you!
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.