This commit is contained in:
Nikolay Kim 2025-01-15 18:26:15 +05:00
parent 7d260fea2f
commit 222ab299a8
2 changed files with 6 additions and 6 deletions

View file

@ -257,7 +257,7 @@ where
server, server,
client: Client::build().finish(), client: Client::build().finish(),
} }
.set_client_timeout(Seconds(60), Millis(60_000)) .set_client_timeout(Seconds(90), Millis(90_000))
} }
#[derive(Debug)] #[derive(Debug)]

View file

@ -718,7 +718,7 @@ where
Connector::default() Connector::default()
.lifetime(Seconds::ZERO) .lifetime(Seconds::ZERO)
.keep_alive(Seconds(60)) .keep_alive(Seconds(60))
.timeout(Millis(60_000)) .timeout(Millis(90_000))
.disconnect_timeout(Seconds(5)) .disconnect_timeout(Seconds(5))
.openssl(builder.build()) .openssl(builder.build())
.finish() .finish()
@ -727,14 +727,14 @@ where
{ {
Connector::default() Connector::default()
.lifetime(Seconds::ZERO) .lifetime(Seconds::ZERO)
.timeout(Millis(60_000)) .timeout(Millis(90_000))
.finish() .finish()
} }
}; };
Client::build() Client::build()
.connector(connector) .connector(connector)
.timeout(Seconds(60)) .timeout(Seconds(90))
.finish() .finish()
}; };
@ -929,7 +929,7 @@ impl TestServer {
WsClient::build(self.url(path)) WsClient::build(self.url(path))
.address(self.addr) .address(self.addr)
.timeout(Seconds(30)) .timeout(Seconds(60))
.openssl(builder.build()) .openssl(builder.build())
.take() .take()
.finish() .finish()
@ -945,7 +945,7 @@ impl TestServer {
} else { } else {
WsClient::build(self.url(path)) WsClient::build(self.url(path))
.address(self.addr) .address(self.addr)
.timeout(Seconds(30)) .timeout(Seconds(60))
.finish() .finish()
.unwrap() .unwrap()
.connect() .connect()