Skip to content
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

Cherry-pick #16667 to 7.6: Make memqueue.Broker internal (now memqueue.broker) #16684

Closed
wants to merge 1 commit into from

Conversation

faec
Copy link
Contributor

@faec faec commented Feb 28, 2020

Cherry-pick of PR #16667 to 7.6 branch. Original message:

What does this PR do?

Cleanup: memqueue.Broker is not used anywhere outside the memqueue package except via its implementation of the queue.Queue interface. This PR makes it an explicitly internal type to better isolate the overall queue interface, and renames the associated function NewBroker to NewQueue.

This does not introduce any functional changes (except to prevent future PRs from accidentally propagating or depending on this internal type).

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works

@faec faec requested review from urso and removed request for urso February 28, 2020 14:12
@faec faec closed this Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant