mirror of
https://github.com/ansible/awx.git
synced 2026-03-27 05:45:02 -02:30
more result_stdout_text defer optimization for inventory updates
see: https://github.com/ansible/ansible-tower/issues/7568
This commit is contained in:
@@ -147,6 +147,7 @@ activity_stream_registrar.connect(WorkflowJob)
|
||||
prevent_search(User._meta.get_field('password'))
|
||||
|
||||
# Always, always, always defer result_stdout_text for polymorphic UnifiedJob rows
|
||||
# TODO: remove this defer in 3.3 when we implement https://github.com/ansible/ansible-tower/issues/5436
|
||||
def defer_stdout(f):
|
||||
def _wrapped(*args, **kwargs):
|
||||
objs = f(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user