mirror of
https://github.com/ansible/awx.git
synced 2026-01-19 05:31:22 -03:30
inspect_execution_nodes should *not* block when retreiving lock
* would otherwise hold up cluster heartbeat task * furthermore, only really need one node to run through `inspect_execution_nodes` each interval
This commit is contained in:
parent
f317fca9e4
commit
de8eab0434
@ -429,7 +429,7 @@ def execution_node_health_check(node):
|
||||
|
||||
|
||||
def inspect_execution_nodes(instance_list):
|
||||
with advisory_lock('inspect_execution_nodes_lock', wait=True):
|
||||
with advisory_lock('inspect_execution_nodes_lock', wait=False):
|
||||
node_lookup = {}
|
||||
for inst in instance_list:
|
||||
if inst.node_type == 'execution':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user