mirror of
https://github.com/Icinga/icinga2.git
synced 2025-09-23 09:48:05 +02:00
HttpServerConnection#DataAvailableHandler(): reduce log spam
(cherry picked from commit f4ab0737d127284dae76483c7c4b0638e4a5f01d)
This commit is contained in:
parent
de21dc3909
commit
8702ee7dc2
@ -353,7 +353,7 @@ void HttpServerConnection::DataAvailableHandler()
|
|||||||
if (!m_Stream->IsEof()) {
|
if (!m_Stream->IsEof()) {
|
||||||
boost::recursive_mutex::scoped_try_lock lock(m_DataHandlerMutex);
|
boost::recursive_mutex::scoped_try_lock lock(m_DataHandlerMutex);
|
||||||
if (!lock.owns_lock()) {
|
if (!lock.owns_lock()) {
|
||||||
Log(LogInformation, "HttpServerConnection", "Unable to process available data, they're already being processed in another thread");
|
Log(LogNotice, "HttpServerConnection", "Unable to process available data, they're already being processed in another thread");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user