aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2016-12-19 21:19:02 +0100
committerJaquee <jaquee.monero@gmail.com>2016-12-19 21:19:02 +0100
commitfc40b3e732baab5f11f4a614ba7bf5353095f798 (patch)
treed9954031b8591d3f4b2eb5402eddbd24cb5677ad /src
parentMerge pull request #1459 (diff)
downloadmonero-fc40b3e732baab5f11f4a614ba7bf5353095f798.tar.xz
Lower connection timeout in check_connection()
Diffstat (limited to 'src')
-rw-r--r--src/wallet/wallet2.cpp2
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;
}