From e2ed1542e680bb2af3d1ad5f9a953962ada72378 Mon Sep 17 00:00:00 2001 From: chris meyers Date: Fri, 9 Mar 2018 09:27:09 -0500 Subject: [PATCH] more celery rollback * Setting reload code calls a celery 4.x method signature. This changes it back to a 3.x safe call. --- awx/main/utils/reload.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/utils/reload.py b/awx/main/utils/reload.py index 20138edf98..6da8b0b4f7 100644 --- a/awx/main/utils/reload.py +++ b/awx/main/utils/reload.py @@ -26,7 +26,7 @@ def _reset_celery_thread_pool(): # Do not use current_app because of this outstanding issue: # https://github.com/celery/celery/issues/4410 app = Celery('awx') - app.config_from_object('django.conf:settings', namespace='CELERY') + app.config_from_object('django.conf:settings') app.control.broadcast('pool_restart', arguments={'reload': True}, destination=['celery@{}'.format(settings.CLUSTER_HOST_ID)], reply=False)