mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 22:51:07 -07:00
Transition asio::deadline_timer to asio::steady_timer
This commit is contained in:
@@ -267,7 +267,7 @@ namespace tools
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}, auto_refresh_evaluation_ms.count());
|
||||
}, auto_refresh_evaluation_ms);
|
||||
m_net_server.add_idle_handler([this](){
|
||||
if (m_stop.load(std::memory_order_relaxed))
|
||||
{
|
||||
@@ -275,7 +275,7 @@ namespace tools
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}, 500);
|
||||
}, std::chrono::milliseconds{500});
|
||||
|
||||
//DO NOT START THIS SERVER IN MORE THEN 1 THREADS WITHOUT REFACTORING
|
||||
return epee::http_server_impl_base<wallet_rpc_server, connection_context>::run(1, true);
|
||||
|
||||
Reference in New Issue
Block a user