diff options
author | luigi1111 <luigi1111w@gmail.com> | 2022-08-22 22:47:45 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2022-08-22 22:47:45 -0500 |
commit | 77053298ed924354a35a1ca93461ad2e68699288 (patch) | |
tree | f884aba9bccfef98dd490d7822373ce5552f1e93 /src/wallet | |
parent | Merge pull request #8444 (diff) | |
parent | wallet_rpc_server: longer timeout for stop_mining (diff) | |
download | monero-77053298ed924354a35a1ca93461ad2e68699288.tar.xz |
Merge pull request #8450
600de07 wallet_rpc_server: longer timeout for stop_mining (moneromooo-monero)
ac6db92 functional_tests: silence the cpu power test program (moneromooo-monero)
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/wallet_rpc_server.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet_rpc_server.cpp b/src/wallet/wallet_rpc_server.cpp index 7ec5fc7a1..7a6d39a43 100644 --- a/src/wallet/wallet_rpc_server.cpp +++ b/src/wallet/wallet_rpc_server.cpp @@ -3254,7 +3254,7 @@ namespace tools if (!m_wallet) return not_open(er); cryptonote::COMMAND_RPC_STOP_MINING::request daemon_req; cryptonote::COMMAND_RPC_STOP_MINING::response daemon_res; - bool r = m_wallet->invoke_http_json("/stop_mining", daemon_req, daemon_res); + bool r = m_wallet->invoke_http_json("/stop_mining", daemon_req, daemon_res, std::chrono::seconds(60)); // this waits till stopped, and if randomx has just started initializing its dataset, it might be a while if (!r || daemon_res.status != CORE_RPC_STATUS_OK) { er.code = WALLET_RPC_ERROR_CODE_UNKNOWN_ERROR; |