mirror of
https://github.com/ansible/awx.git
synced 2026-05-13 04:17:36 -02:30
always use async http logging - even in celery workers
additionally, add a timeout to requests to avoid thread starvation see: #5718 see: #5729
This commit is contained in:
@@ -90,7 +90,7 @@ def celery_startup(conf=None, **kwargs):
|
||||
@worker_process_init.connect
|
||||
def task_set_logger_pre_run(*args, **kwargs):
|
||||
cache.close()
|
||||
configure_external_logger(settings, async_flag=False, is_startup=False)
|
||||
configure_external_logger(settings, is_startup=False)
|
||||
|
||||
|
||||
def _clear_cache_keys(set_of_keys):
|
||||
|
||||
Reference in New Issue
Block a user