serilog-contrib / serilog-sinks-splunk

A Serilog sink that writes to Splunk
https://splunk.com
Apache License 2.0
46 stars 47 forks source link

Allow defining QueueLimit in PeriodicBatchingSinkOptions #133

Closed JuanjoFuchs closed 3 years ago

JuanjoFuchs commented 3 years ago

If Splunk event collector is slow accepting the requests and the queue is unbounded, it can grow indefinitely virtually consuming all the memory available for the process hosting this sink.

See PeriodicBatchingSink.cs#L32 PeriodicBatchingSinkOptions.cs#L45

JuanjoFuchs commented 3 years ago

implemented since version 3.6.0