Skip to content

Commit

Permalink
fix: commit to db after computing flag and component comparisons (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry committed Dec 21, 2023
1 parent 0d4ec53 commit a67e8b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/compute_comparison.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,11 @@ async def run_async(self, db_session, comparison_id, *args, **kwargs):
db_session.commit()

await self.compute_flag_comparison(db_session, comparison, comparison_proxy)
db_session.commit()
await self.compute_component_comparisons(
db_session, comparison, comparison_proxy
)
db_session.commit()
return {"successful": True}

async def compute_flag_comparison(self, db_session, comparison, comparison_proxy):
Expand Down

0 comments on commit a67e8b1

Please sign in to comment.