Skip to content

Commit

Permalink
Refactor: Change thread sleep time
Browse files Browse the repository at this point in the history
Refactor: Change thread sleep time
  • Loading branch information
keyur9 committed Feb 4, 2021
1 parent 74aee32 commit 16bff2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ private void ScheduleWorker()
Tasks task = new Tasks();
while (true)
{
Thread.Sleep(2000);
Thread.Sleep(batchMaxTime * 1000);
try
{
lastWorkerRun = DateTime.UtcNow;
Expand Down

0 comments on commit 16bff2c

Please sign in to comment.