Skip to content

Commit b2b7dc3

Browse files
committed
add default batch config
1 parent c74b417 commit b2b7dc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Serilog.Sinks.UDP/Sinks/Splunk/SplunkUdpSinkConnectionInfo.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ public class SplunkUdpSinkConnectionInfo
3636
public int Port { get; }
3737

3838
///<summary>
39-
/// The maximum number of events to post in a single batch. Defaults to: 50.
39+
/// The maximum number of events to post in a single batch. Defaults to: 100.
4040
/// </summary>
41-
public int BatchPostingLimit { get; set; }
41+
public int BatchPostingLimit { get; set; } = 100;
4242

4343

4444
///<summary>
4545
/// The time to wait between checking for event batches. Defaults to 2 seconds.
4646
/// </summary>
47-
public TimeSpan Period { get; set; }
47+
public TimeSpan Period { get; set; } = TimeSpan.FromSeconds(2);
4848

4949

5050
/// <summary>

0 commit comments

Comments
 (0)