mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-06 16:31:10 +00:00
Add True as default if NOPAQUE_EXECUTE_NOTIFICATIONS is not set
This commit is contained in:
1 parent
84319681a2
commit
6e26e38326
1 file changed
+1
-1
+1
-1
@@ -10,7 +10,7 @@ import os
|
||||
|
||||
|
||||
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
|
||||
while True:
|
||||
with ThreadPoolExecutor(max_workers=3) as executor:
|
||||
|
||||
Reference in new issue
Block a user