mirror of
https://github.com/ansible/awx.git
synced 2026-03-05 10:41:05 -03:30
Updated zeromq callback to receive callback port via environment variable. Changed production, development and unit tests to all use different ports/queues for the callback.
This commit is contained in:
@@ -17,6 +17,11 @@ from defaults import *
|
||||
if 'celeryd' in sys.argv:
|
||||
SQL_DEBUG = False
|
||||
|
||||
# Use a different callback consumer/queue for development, to avoid a conflict
|
||||
# if there is also a nightly install running on the development machine.
|
||||
CALLBACK_CONSUMER_PORT = "tcp://127.0.0.1:5557"
|
||||
CALLBACK_QUEUE_PORT = "ipc:///tmp/callback_receiver_dev.ipc"
|
||||
|
||||
# If any local_*.py files are present in awx/settings/, use them to override
|
||||
# default settings for development. If not present, we can still run using
|
||||
# only the defaults.
|
||||
|
||||
Reference in New Issue
Block a user