mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
websockets aware of Instance changes
* New tower nodes that are (de)registered in the Instance table are seen by the websocket layer and connected to or disconnected from by the websocket broadcast backplane using a polling mechanism. * This is especially useful for openshift and kubernetes. This will be useful for standalone Tower in the future when the restarting of Tower services is not required.
This commit is contained in:
committed by
Ryan Petrello
parent
c06b6306ab
commit
03b73027e8
@@ -1250,3 +1250,6 @@ BROADCAST_WEBSOCKETS_VERIFY_CERT = False
|
||||
|
||||
# Connect to other AWX nodes using http or https
|
||||
BROADCAST_WEBSOCKETS_PROTOCOL = 'https'
|
||||
|
||||
# How often websocket process will look for changes in the Instance table
|
||||
BROADCAST_WEBSOCKETS_NEW_INSTANCE_POLL_RATE_SECONDS = 10
|
||||
|
||||
Reference in New Issue
Block a user