diff --git a/awx/main/tasks/facts.py b/awx/main/tasks/facts.py index a47f3890c20a..c72dc0d3a67d 100644 --- a/awx/main/tasks/facts.py +++ b/awx/main/tasks/facts.py @@ -135,4 +135,5 @@ def finish_fact_cache(hosts, destination, facts_write_time, log_data, job_id=Non log_data['cleared_ct'] += 1 if len(hosts_to_update) > 100: update_hosts(hosts_to_update) + hosts_to_update = [] update_hosts(hosts_to_update)