diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2019-03-07 13:08:09 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2019-03-07 13:08:09 +0100 |
| commit | ff514bc14bf524b8dbe25a7bd5565ea5ea14c4f6 (patch) | |
| tree | 544787380b31ed66e9e6d788a51bc8039c2c0703 | |
| parent | 6745f61b92c4045211fb5e7cd607f5966268ca77 (diff) | |
| download | mullvadvpn-ff514bc14bf524b8dbe25a7bd5565ea5ea14c4f6.tar.xz mullvadvpn-ff514bc14bf524b8dbe25a7bd5565ea5ea14c4f6.zip | |
Bump the RPC timeout to 10s
| -rw-r--r-- | mullvad-rpc/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mullvad-rpc/src/lib.rs b/mullvad-rpc/src/lib.rs index 0f23a3eba1..58fa07440f 100644 --- a/mullvad-rpc/src/lib.rs +++ b/mullvad-rpc/src/lib.rs @@ -41,7 +41,7 @@ use crate::https_client_with_sni::{HttpsClientWithSni, HttpsConnectorWithSni}; const DNS_THREADS: usize = 2; const API_HOST: &str = "api.mullvad.net"; -const RPC_TIMEOUT: Duration = Duration::from_secs(5); +const RPC_TIMEOUT: Duration = Duration::from_secs(10); pub const API_IP_CACHE_FILENAME: &str = "api-ip-address.txt"; lazy_static! { static ref API_IP: IpAddr = IpAddr::V4(Ipv4Addr::new(193, 138, 218, 73)); |
