Update src/Coordination/KeeperServer.cpp

This commit is contained in:
Antonio Andelic 2023-11-28 16:00:06 +01:00 committed by GitHub
parent d10aeef23e
commit 852b4d42b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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*/)
{