mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Add True as default if NOPAQUE_EXECUTE_NOTIFICATIONS is not set
This commit is contained in:
parent
84319681a2
commit
6e26e38326
@ -10,7 +10,7 @@ import os
|
|||||||
|
|
||||||
|
|
||||||
def nopaqued():
|
def nopaqued():
|
||||||
execute_notifications = bool(os.environ.get('NOPAQUE_EXECUTE_NOTIFICATIONS')) # noqa
|
execute_notifications = bool(os.environ.get('NOPAQUE_EXECUTE_NOTIFICATIONS', True)) # noqa
|
||||||
# executing background functions
|
# executing background functions
|
||||||
while True:
|
while True:
|
||||||
with ThreadPoolExecutor(max_workers=3) as executor:
|
with ThreadPoolExecutor(max_workers=3) as executor:
|
||||||
|
Loading…
Reference in New Issue
Block a user