Minor enhancements and Eventsource timeout fix.

This commit is contained in:
Mauro D
2022-07-23 15:22:00 +00:00
parent 9461f63842
commit 7db07e742a
8 changed files with 21 additions and 21 deletions

View File

@@ -62,7 +62,7 @@ impl Client {
let mut stream = Client::handle_error(
reqwest::Client::builder()
.timeout(Duration::from_millis(self.timeout()))
.connect_timeout(Duration::from_millis(self.timeout()))
.default_headers(headers)
.build()?
.get(event_source_url)