We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ebf790 commit 59b5b60Copy full SHA for 59b5b60
components/job-orchestration/job_orchestration/scheduler/query/query_scheduler.py
@@ -323,9 +323,9 @@ def set_job_or_task_status(
323
324
with contextlib.closing(db_conn.cursor()) as cursor:
325
cursor.execute(update)
326
+ row_changed = cursor.rowcount != 0
327
db_conn.commit()
- rval = cursor.rowcount != 0
328
- return rval
+ return row_changed
329
330
331
async def handle_cancelling_search_jobs(db_conn_pool) -> None:
0 commit comments