mirror of
https://github.com/ansible/awx.git
synced 2026-02-23 22:16:00 -03:30
Comment out actual fix
This commit is contained in:
@@ -21,8 +21,8 @@ def worker_delete_target(ready_event, continue_event, field_name):
|
|||||||
# wait for the coordination message
|
# wait for the coordination message
|
||||||
continue_event.wait()
|
continue_event.wait()
|
||||||
|
|
||||||
# presumed fix
|
# # presumed fix
|
||||||
host_list = sorted(host_list, key=lambda host: host.id)
|
# host_list = sorted(host_list, key=lambda host: host.id)
|
||||||
|
|
||||||
# NOTE: did not reproduce the bug without batch_size
|
# NOTE: did not reproduce the bug without batch_size
|
||||||
Host.objects.bulk_update(host_list, [field_name], batch_size=100)
|
Host.objects.bulk_update(host_list, [field_name], batch_size=100)
|
||||||
|
|||||||
Reference in New Issue
Block a user