diff --git a/Makefile b/Makefile index fd9d87cd2e..46e81d5686 100644 --- a/Makefile +++ b/Makefile @@ -361,7 +361,6 @@ server_noattach: tmux new-window 'exec make receiver' tmux select-window -t tower:1 tmux rename-window 'Extra Services' - tmux split-window -v 'exec make socketservice' tmux split-window -h 'exec make factcacher' server: server_noattach diff --git a/awx/main/utils.py b/awx/main/utils.py index 0603e05997..b9bce10fc0 100644 --- a/awx/main/utils.py +++ b/awx/main/utils.py @@ -490,19 +490,6 @@ def get_system_task_capacity(): return 50 + ((int(total_mem_value) / 1024) - 2) * 75 -def emit_websocket_notification(endpoint, event, payload, token_key=None): - from awx.main.socket_queue import Socket - - try: - with Socket('websocket', 'w', nowait=True, logger=logger) as websocket: - if token_key: - payload['token_key'] = token_key - payload['event'] = event - payload['endpoint'] = endpoint - websocket.publish(payload) - except Exception: - pass - _inventory_updates = threading.local()