Skip to content
Snippets Groups Projects

Don't send updates to myMdC when all jobs are pending

Merged Thomas Kluyver requested to merge websvc-fewer-mymdc-updates into master
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.

Screenshot_from_2021-11-09_11-40-31

image

image

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.

Reviewers

@danilevc @schmidtp

Edited by Thomas Kluyver

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading