Skip to content

Commit

Permalink
optimize things
Browse files Browse the repository at this point in the history
  • Loading branch information
Tricked-dev committed Sep 29, 2022
1 parent 412dbf6 commit a74c8fc
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,7 @@ lazy_static::lazy_static! {
Mutex::new(res)
};
pub static ref HTTP_CLIENT: HttpClient = HttpClient::builder()
.tcp_keepalive(Duration::from_secs(30))
.interface(NetworkInterface::any())
.default_header("user-agent", "Lowestbins/1.3.0")
.connect_timeout(Duration::from_secs(10))
.version_negotiation(VersionNegotiation::http2())
.metrics(false).tcp_nodelay()
.build()
.unwrap();
pub static ref CONFIG: Conf = Conf::init();
Expand Down

0 comments on commit a74c8fc

Please sign in to comment.