Skip to content

Commit

Permalink
fix(firehose): http2_adaptive_window
Browse files Browse the repository at this point in the history
  • Loading branch information
leoyvens committed Aug 5, 2022
1 parent 8b5fcd1 commit d77f190
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion graph/src/firehose/endpoints.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ impl FirehoseEndpoint {
.expect("TLS config on this host is invalid"),
_ => panic!("invalid uri scheme for firehose endpoint"),
}
.connect_timeout(Duration::from_secs(10));
.connect_timeout(Duration::from_secs(10))
.http2_adaptive_window(true);

let uri = endpoint.uri().to_string();
//connect_lazy() used to return Result, but not anymore, that makes sence since Channel is not used immediatelly
Expand Down

0 comments on commit d77f190

Please sign in to comment.