Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit fbc352c

Browse files
Hopefully help DB lock contention (#986)
1 parent b404fef commit fbc352c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

services/report/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,8 @@ def create_report_upload(
243243
private_repo=repository.private,
244244
report_type=commit_report.report_type,
245245
)
246+
db_session = upload.get_db_session()
247+
db_session.commit()
246248

247249
return upload
248250

0 commit comments

Comments
 (0)