Merge pull request #11955 from shanemcd/fail-better

Increase resiliency when application crashes
This commit is contained in:
Shane McDonald
2022-03-30 08:58:26 -04:00
committed by GitHub
11 changed files with 110 additions and 108 deletions
-4
View File
@@ -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)