pierresouchay / consul-rust

Rust client libray for Consul HTTP API
Apache License 2.0
93 stars 48 forks source link

Consul-rust does not reuse reqwest clients #66

Open mtthw-meyer opened 2 years ago

mtthw-meyer commented 2 years ago

When making many requests I'm getting 104s from consul. I suspect the root cause it not reusing reqwest clients.

https://github.com/seanmonstar/reqwest/blob/0fc1652975a3083843a6a0d5be5c8f23e296a6e5/src/lib.rs#L47