File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Serilog.Sinks.Splunk/Sinks/Splunk Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ namespace Serilog.Sinks.Splunk
3131 /// </summary>
3232 public class EventCollectorSink : PeriodicBatchingSink
3333 {
34- private const int NoQueueLimit = - 1 ;
34+ private const int DefaultQueueLimit = 100000 ;
3535
3636 private readonly string _splunkHost ;
3737 private readonly string _uriPath ;
@@ -186,7 +186,7 @@ public EventCollectorSink(
186186 int ? queueLimit ,
187187 ITextFormatter jsonFormatter ,
188188 HttpMessageHandler messageHandler = null )
189- : base ( batchSizeLimit , TimeSpan . FromSeconds ( batchIntervalInSeconds ) , queueLimit ?? NoQueueLimit )
189+ : base ( batchSizeLimit , TimeSpan . FromSeconds ( batchIntervalInSeconds ) , queueLimit ?? DefaultQueueLimit )
190190 {
191191 _uriPath = uriPath ;
192192 _splunkHost = splunkHost ;
You can’t perform that action at this time.
0 commit comments