mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
9133c01f00
commit
5bb3971f0b
@ -66,7 +66,7 @@ ConnectionRole ApiClient::GetRole(void) const
|
|||||||
|
|
||||||
void ApiClient::SendMessage(const Dictionary::Ptr& message)
|
void ApiClient::SendMessage(const Dictionary::Ptr& message)
|
||||||
{
|
{
|
||||||
if (m_WriteQueue.GetLength() > 5000) {
|
if (m_WriteQueue.GetLength() > 20000) {
|
||||||
Log(LogWarning, "remote", "Closing connection for API identity '" + m_Identity + "': Too many queued messages.");
|
Log(LogWarning, "remote", "Closing connection for API identity '" + m_Identity + "': Too many queued messages.");
|
||||||
Disconnect();
|
Disconnect();
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user