mirror of
				https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
				synced 2025-11-04 12:22:47 +00:00 
			
		
		
		
	Add True as default if NOPAQUE_EXECUTE_NOTIFICATIONS is not set
This commit is contained in:
		@@ -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:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user