When app runs into network issues and is logging heavily, the Vector<ILoggingEvent> batch property can increase in size without any bounds.
This PR adds configurable maxQueueSize parameter (100k by default) that helps mitigate the issue.
Tested via changing ingestUrl option to https://google.com:81 (the URL will timeout due to firewall blocking the port) and logging in an infinite loop.
When app runs into network issues and is logging heavily, the
Vector<ILoggingEvent> batch
property can increase in size without any bounds.This PR adds configurable
maxQueueSize
parameter (100k by default) that helps mitigate the issue.Tested via changing
ingestUrl
option tohttps://google.com:81
(the URL will timeout due to firewall blocking the port) and logging in an infinite loop.