Block JsonRpcConnection Queue

This commit is contained in:
Alvar Penning 2025-03-03 16:55:07 +01:00
parent 01d4626d29
commit ed49906611
No known key found for this signature in database

View File

@ -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);
}