mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-27 18:49:01 +02:00
Increase timeouts in test-server (#1153)
This commit is contained in:
committed by
Nikolay Kim
parent
edcde67076
commit
61b38e8d0d
@ -144,7 +144,7 @@ impl TestServer {
|
||||
.map_err(|e| log::error!("Can not set alpn protocol: {:?}", e));
|
||||
Connector::new()
|
||||
.conn_lifetime(time::Duration::from_secs(0))
|
||||
.timeout(time::Duration::from_millis(500))
|
||||
.timeout(time::Duration::from_millis(3000))
|
||||
.ssl(builder.build())
|
||||
.finish()
|
||||
}
|
||||
@ -152,7 +152,7 @@ impl TestServer {
|
||||
{
|
||||
Connector::new()
|
||||
.conn_lifetime(time::Duration::from_secs(0))
|
||||
.timeout(time::Duration::from_millis(500))
|
||||
.timeout(time::Duration::from_millis(3000))
|
||||
.finish()
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user