mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-26 03:14:19 +00:00
Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/nopaque into development
This commit is contained in:
commit
4727ce32c6
@ -2,7 +2,6 @@ from concurrent.futures import ThreadPoolExecutor
|
|||||||
from tasks.check_corpora import check_corpora
|
from tasks.check_corpora import check_corpora
|
||||||
from tasks.check_jobs import check_jobs
|
from tasks.check_jobs import check_jobs
|
||||||
from tasks.notify import notify
|
from tasks.notify import notify
|
||||||
from time import sleep
|
|
||||||
|
|
||||||
|
|
||||||
# TODO: Check if thread is still alive and execute next thread after that
|
# 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.
|
executor.submit(notify, True) # If True mails are sent.
|
||||||
# If False no mails are sent.
|
# If False no mails are sent.
|
||||||
# But notification status will be set nonetheless.
|
# But notification status will be set nonetheless.
|
||||||
sleep(3)
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
Reference in New Issue
Block a user