Skip to content

Commit

Permalink
removing sleep in pendingwork if else (#8851)
Browse files Browse the repository at this point in the history
  • Loading branch information
aspiringmind-code authored Dec 3, 2024
1 parent 987523c commit 35d85e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/python/TaskWorker/MasterWorker.py
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,6 @@ def algorithm(self):
tasksInfo = [{k:v for k, v in task.items() if k in keys} for task in pendingwork]
self.logger.info("Retrieved a total of %d works", len(pendingwork))
self.logger.debug("Retrieved the following works: \n%s", str(tasksInfo))
else:
time.sleep(self.config.TaskWorker.polling)

toInject = []
for task in pendingwork:
Expand Down

0 comments on commit 35d85e4

Please sign in to comment.