mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-26 02:58:43 +02:00
Block JsonRpcConnection Queue
This commit is contained in:
parent
01d4626d29
commit
ed49906611
@ -118,6 +118,8 @@ void JsonRpcConnection::HandleIncomingMessages(boost::asio::yield_context yc)
|
||||
|
||||
MessageHandler(message);
|
||||
|
||||
std::this_thread::sleep_for(2 * (ch::steady_clock::now() - processingStarted));
|
||||
|
||||
if (m_Endpoint) {
|
||||
m_Endpoint->AddInputTimes(readFinished - readStarted, cpuBoundDuration, processingStarted);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user