mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Update src/Coordination/KeeperServer.cpp
This commit is contained in:
parent
d10aeef23e
commit
852b4d42b6
@ -331,7 +331,7 @@ void KeeperServer::launchRaftServer(const Poco::Util::AbstractConfiguration & co
|
||||
nuraft::asio_service::options asio_opts{};
|
||||
|
||||
/// If asio worker threads fail in any way, NuRaft will stop to make any progress
|
||||
/// For that reason we need to supress out of memory exceptions in such threads
|
||||
/// For that reason we need to suppress out of memory exceptions in such threads
|
||||
/// TODO: use `get_active_workers` to detect when we have no active workers to abort
|
||||
asio_opts.worker_start_ = [](uint32_t /*worker_id*/)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user