diff options
author | Jaquee <jaquee.monero@gmail.com> | 2016-12-19 21:19:02 +0100 |
---|---|---|
committer | Jaquee <jaquee.monero@gmail.com> | 2016-12-19 21:19:02 +0100 |
commit | fc40b3e732baab5f11f4a614ba7bf5353095f798 (patch) | |
tree | d9954031b8591d3f4b2eb5402eddbd24cb5677ad | |
parent | Merge pull request #1459 (diff) | |
download | monero-fc40b3e732baab5f11f4a614ba7bf5353095f798.tar.xz |
Lower connection timeout in check_connection()
-rw-r--r-- | src/wallet/wallet2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp index db4fae557..de41acb2d 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2234,7 +2234,7 @@ bool wallet2::check_connection(uint32_t *version) u.port = m_testnet ? config::testnet::RPC_DEFAULT_PORT : config::RPC_DEFAULT_PORT; } - if (!m_http_client.connect(u.host, std::to_string(u.port), WALLET_RCP_CONNECTION_TIMEOUT)) + if (!m_http_client.connect(u.host, std::to_string(u.port), 10000)) return false; } |