r2d2
r2d2 copied to clipboard
Using behind proxychains
Hi, I'm creating a DbPoolConnection by using
let manager = ConnectionManager::<PgConnection>::new(self.database_url());
r2d2::Pool::builder().build(manager).expect("Failed to create pool.")
This however fails after a couple of seconds if the script is started with proxychains cargo run --release. Is there's a way to use the pool behind proxychains?
I am not familiar with proxychains.