Don't send updates to myMdC when all jobs are pending
1 unresolved thread
1 unresolved thread
Description
We are hitting rate limits for requests to myMdC. We believe this is at least partly down to report jobs waiting in a queue, because we still update myMdC for each run every 60 seconds, until calibration for that run finishes. This aims to cut the requests we send to myMdC:
- Skip updating the status for runs when all jobs are pending - these updates are not very informative anyway.
- When correction finishes, update the status with 1 request instead of 2.
How Has This Been Tested?
Deployed on max-exfl017, recalibrated some runs from test proposal, checked that status updates still show up as expected.
Types of changes
- Bug fix (non-breaking change which fixes an issue)
Checklist:
- My code follows the code style of this project.
Reviewers
Edited by Thomas Kluyver
Merge request reports
Activity
Filter activity
Please register or sign in to reply