Skip to content

Commit

Permalink
Merge pull request #1071 from AlmaLinux/fix_build_done
Browse files Browse the repository at this point in the history
Fix `sqlalchemy.exc.MissingGreenlet` error
  • Loading branch information
anfimovdm authored Nov 24, 2024
2 parents ebf424e + ded74f1 commit 4c6ac21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alws/crud/build_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ def _get_srpm_name(
db.add_all(rpm_entries)
db.add(build_task)
await db.flush()
await db.refresh(build_task)
await db.refresh(build_task, attribute_names=['build'])
return build_task, processing_stats


Expand Down

0 comments on commit 4c6ac21

Please sign in to comment.