postgrest-rs
postgrest-rs copied to clipboard
Save and re-use reqwest instance
trafficstars
Currently the reqwest client seem to be created always for executing a query:
let mut req = Client::new().request(self.method.clone(), &self.url);
This will end up doing a SSL handshake every time. It's better to create it once and reuse it to improve performance.
Has this been resolved?
Nope - PRs welcome though!