mirror of
https://github.com/monero-project/monero.git
synced 2024-11-18 00:37:43 +00:00
Lower connection timeout in check_connection()
This commit is contained in:
parent
29735c8f8f
commit
fc40b3e732
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue