mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 01:18:35 -05:00
Merge pull request #11955 from shanemcd/fail-better
Increase resiliency when application crashes
This commit is contained in:
@@ -490,10 +490,6 @@ def cluster_node_heartbeat():
|
||||
if inst.hostname == settings.CLUSTER_HOST_ID:
|
||||
this_inst = inst
|
||||
break
|
||||
else:
|
||||
(changed, this_inst) = Instance.objects.get_or_register()
|
||||
if changed:
|
||||
logger.info("Registered tower control node '{}'".format(this_inst.hostname))
|
||||
|
||||
inspect_execution_nodes(instance_list)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user