mirror of
https://github.com/ansible/awx.git
synced 2026-01-10 15:32:07 -03:30
scope counter/start/end line updates to the current job for firehose.py
This commit is contained in:
parent
4dee5eddeb
commit
46fceb03a5
@ -219,7 +219,8 @@ def generate_events(events, job):
|
||||
"UPDATE main_jobevent SET "
|
||||
"counter=nextval('firehose_seq')::integer,"
|
||||
"start_line=nextval('firehose_line_seq')::integer,"
|
||||
"end_line=currval('firehose_line_seq')::integer + 2"
|
||||
"end_line=currval('firehose_line_seq')::integer + 2 "
|
||||
f"WHERE job_id={job}"
|
||||
)
|
||||
conn.commit()
|
||||
finally:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user