Skip to content

Conversation

@brizental
Copy link
Contributor

@brizental brizental commented Jul 19, 2021

The lack of this API causes a bug in Rally. See: https://bugzilla.mozilla.org/show_bug.cgi?id=1698934#c33

Note

I have confirmed that this fixes the issue and makes the test over on mozilla-rally/rally-core-addon#678 pass.

Pull Request checklist

  • Quality: Make sure this PR builds and runs cleanly.
    • Inside the glean/ folder, run:
      • npm run test Runs all tests
      • npm run lint && npm run lint:circular-deps Runs all linters
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry to CHANGELOG.md or an explanation of why it does not need one
  • Documentation: This PR includes documentation changes, an explanation of why it does not need that or a follow-up bug has been filed to do that work

@brizental brizental requested a review from chutten July 20, 2021 09:32
This is a long overdue refactoring i.e. it should have been done when
we implemented the dispatcher.

The PingUploader had sort of a mini dispatcher implementation in it,
it would be silly to implement shutdown for this alternate dispatcher
in this PR so I decided to finally refactor it to use the same
dispatcher. The actual Dispatcher class is much more robust as well,
it was implemeted after the Uploader and a lot of thought has gone into
it. I trust it more than the mini dispatcher we used to have inside the
PingUploader.
@brizental brizental requested review from travis79 and removed request for chutten July 20, 2021 12:00
Copy link
Member

@travis79 travis79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really good to me! Mostly just some grammar and clarification nits.

Co-authored-by: Travis Long <tlong@mozilla.com>
@brizental brizental merged commit 15e74a7 into mozilla:main Jul 20, 2021
@brizental brizental deleted the 1707891-shutdown branch July 20, 2021 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants