sfackler / r2d2

A generic connection pool for Rust
Apache License 2.0
1.49k stars 80 forks source link

Using behind proxychains #134

Open Corfucinas opened 2 years ago

Corfucinas commented 2 years ago

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?

sfackler commented 2 years ago

I am not familiar with proxychains.