diff --git a/src/python/TaskWorker/MasterWorker.py b/src/python/TaskWorker/MasterWorker.py index 20996f873d..9d91bc57c6 100644 --- a/src/python/TaskWorker/MasterWorker.py +++ b/src/python/TaskWorker/MasterWorker.py @@ -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: