From e0f32ee9eb766bfba07fbf7f33a6da395774e0f9 Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Mon, 8 Jun 2020 11:28:02 +0200 Subject: [PATCH] Remove sleep --- daemon/nopaqued.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/daemon/nopaqued.py b/daemon/nopaqued.py index 18e6b273..44fb96e4 100644 --- a/daemon/nopaqued.py +++ b/daemon/nopaqued.py @@ -2,7 +2,6 @@ from concurrent.futures import ThreadPoolExecutor from tasks.check_corpora import check_corpora from tasks.check_jobs import check_jobs from tasks.notify import notify -from time import sleep # TODO: Check if thread is still alive and execute next thread after that @@ -18,7 +17,6 @@ def nopaqued(): executor.submit(notify, True) # If True mails are sent. # If False no mails are sent. # But notification status will be set nonetheless. - sleep(3) if __name__ == '__main__':