Skip to content

Commit 6c65742

Browse files
committed
Adjusted BatchIntervalInMilliseconds property
#51
1 parent 908b0e9 commit 6c65742

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/SplunkLogger/BatchManager.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class BatchManager
1818
{
1919
readonly ConcurrentBag<object> events;
2020
readonly uint batchSizeCount;
21-
readonly uint batchIntervalInMiliseconds;
21+
readonly uint batchIntervalInMilliseconds;
2222
readonly Timer timer;
2323
readonly Action<List<object>> emitAction;
2424

@@ -29,17 +29,17 @@ public class BatchManager
2929
/// Initializes a new instance of the <see cref="T:Splunk.BatchManager"/> class.
3030
/// </summary>
3131
/// <param name="batchSizeCount">Batch size count.</param>
32-
/// <param name="batchIntervalInMiliseconds">Batch interval in miliseconds.</param>
32+
/// <param name="batchIntervalInMilliseconds">Batch interval in milliseconds.</param>
3333
/// <param name="emitAction">Emit action to be invoked at Emit process.</param>
34-
public BatchManager(uint batchSizeCount, uint batchIntervalInMiliseconds, Action<List<object>> emitAction)
34+
public BatchManager(uint batchSizeCount, uint batchIntervalInMilliseconds, Action<List<object>> emitAction)
3535
{
3636
events = new ConcurrentBag<object>();
3737
this.batchSizeCount = batchSizeCount;
38-
this.batchIntervalInMiliseconds = batchIntervalInMiliseconds;
38+
this.batchIntervalInMilliseconds = batchIntervalInMilliseconds;
3939

40-
if (batchIntervalInMiliseconds > 0)
40+
if (batchIntervalInMilliseconds > 0)
4141
{
42-
timer = new Timer(batchIntervalInMiliseconds);
42+
timer = new Timer(batchIntervalInMilliseconds);
4343
timer.AutoReset = false;
4444
timer.Enabled = true;
4545
timer.Elapsed += TimerTick;

0 commit comments

Comments
 (0)