-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move repo.updatestamp update from Upload to UploadFinisher #828
Conversation
🔍 Existing Issues For ReviewYour pull request is modifying functions with the following pre-existing issues: 📄 File: tasks/upload_finisher.py
Did you find this useful? React with a 👍 or 👎 |
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #828 +/- ##
==========================================
- Coverage 98.03% 98.03% -0.01%
==========================================
Files 442 442
Lines 36113 36112 -1
==========================================
- Hits 35402 35401 -1
Misses 711 711
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #828 +/- ##
==========================================
- Coverage 98.03% 98.03% -0.01%
==========================================
Files 442 442
Lines 36113 36112 -1
==========================================
- Hits 35402 35401 -1
Misses 711 711
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #828 +/- ##
==========================================
- Coverage 98.03% 98.03% -0.01%
==========================================
Files 442 442
Lines 36113 36112 -1
==========================================
- Hits 35402 35401 -1
Misses 711 711
Flags with carried forward coverage won't be shown. Click here to find out more.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. @@ Coverage Diff @@
## main #828 +/- ##
==========================================
- Coverage 98.03% 98.03% -0.01%
==========================================
Files 442 442
Lines 36113 36112 -1
==========================================
- Hits 35402 35401 -1
Misses 711 711
Flags with carried forward coverage won't be shown. Click here to find out more.
|
this is a low-hanging fruit for reducing database locking. instead of doing this write in the repos table for every
UploadTask
, let's do it forUploadFinisher
which should run lessthat said, the
UploadFinisher
task will hold the lock longer