diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:47:58 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-12-20 17:47:58 +0200 |
commit | 9777de189039c36d3fb08600c4e0289093e94e6d (patch) | |
tree | 8cb73509d8f72cb8fb0219c21a5b8d368f2f4edf /src/wallet | |
parent | Merge pull request #1473 (diff) | |
parent | Lower connection timeout in check_connection() (diff) | |
download | monero-9777de189039c36d3fb08600c4e0289093e94e6d.tar.xz |
Merge pull request #1474
fc40b3e7 Lower connection timeout in check_connection() (Jaquee)
Diffstat (limited to 'src/wallet')
-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 ed488b50c..221dd8e0b 100644 --- a/src/wallet/wallet2.cpp +++ b/src/wallet/wallet2.cpp @@ -2233,7 +2233,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; } |