mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-29 16:44:29 +02:00
Merge pull request #6877 from Icinga/bugfix/http-log-spam
HttpServerConnection#DataAvailableHandler(): reduce log spam
This commit is contained in:
commit
2e1b6bd21f
@ -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