mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
Remove unused IoEngine#m_AlreadyExpiredTimer
This commit is contained in:
parent
c88502b8d0
commit
e4b73f3ffc
@ -146,9 +146,8 @@ boost::asio::io_context& IoEngine::GetIoContext()
|
||||
return m_IoContext;
|
||||
}
|
||||
|
||||
IoEngine::IoEngine() : m_IoContext(), m_KeepAlive(boost::asio::make_work_guard(m_IoContext)), m_Threads(decltype(m_Threads)::size_type(Configuration::Concurrency * 2u)), m_AlreadyExpiredTimer(m_IoContext)
|
||||
IoEngine::IoEngine() : m_IoContext(), m_KeepAlive(boost::asio::make_work_guard(m_IoContext)), m_Threads(decltype(m_Threads)::size_type(Configuration::Concurrency * 2u))
|
||||
{
|
||||
m_AlreadyExpiredTimer.expires_at(boost::posix_time::neg_infin);
|
||||
m_CpuBoundSemaphore.store(Configuration::Concurrency * 3u / 2u);
|
||||
|
||||
for (auto& thread : m_Threads) {
|
||||
|
@ -149,7 +149,6 @@ private:
|
||||
boost::asio::io_context m_IoContext;
|
||||
boost::asio::executor_work_guard<boost::asio::io_context::executor_type> m_KeepAlive;
|
||||
std::vector<std::thread> m_Threads;
|
||||
boost::asio::deadline_timer m_AlreadyExpiredTimer;
|
||||
|
||||
std::atomic_int_fast32_t m_CpuBoundSemaphore;
|
||||
std::mutex m_CpuBoundWaitingMutex;
|
||||
|
Loading…
x
Reference in New Issue
Block a user