From 16bff2c1143d7831301355ce5be6fddb5769e846 Mon Sep 17 00:00:00 2001 From: Keyur Date: Thu, 4 Feb 2021 04:29:47 +0000 Subject: [PATCH] Refactor: Change thread sleep time Refactor: Change thread sleep time --- Moesif.Middleware/NetFramework/MoesifMiddlewareNetFramework.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;