diff --git a/Moesif.Middleware/NetFramework/MoesifMiddlewareNetFramework.cs b/Moesif.Middleware/NetFramework/MoesifMiddlewareNetFramework.cs index 84c2c4b..676d7ad 100644 --- a/Moesif.Middleware/NetFramework/MoesifMiddlewareNetFramework.cs +++ b/Moesif.Middleware/NetFramework/MoesifMiddlewareNetFramework.cs @@ -109,7 +109,7 @@ private void ScheduleWorker() Tasks task = new Tasks(); while (true) { - Thread.Sleep(2000); + Thread.Sleep(batchMaxTime * 1000); try { lastWorkerRun = DateTime.UtcNow;