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

Refactor Pub / Sub callback queue #4511

Merged
merged 2 commits into from Dec 6, 2017

Conversation

dhermes
Copy link
Contributor

@dhermes dhermes commented Dec 1, 2017

  • Renaming QueueCallbackThread -> QueueCallbackWorker.
  • Also fixing a few typos nearby a mention of QueueCallbackThread in pubsub/CHANGELOG.md.
  • Making Policy.on_callback_request() less open-ended (renaming to dispatch_callback to make it clear that it's essentially acting as a dispatch table for a given action)

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Dec 1, 2017
@dhermes dhermes added the api: pubsub Issues related to the Pub/Sub API. label Dec 1, 2017
Also fixing a few typos nearby a mention of `QueueCallbackThread` in
`pubsub/CHANGELOG.md`.
@dhermes dhermes force-pushed the refactor-pubsub-callback-queue branch from b6f66b9 to 0d44af6 Compare December 4, 2017 19:19
self.nack(**kwargs)
else:
raise ValueError(
'Unexpected action', action,

This comment was marked as spam.

@dhermes dhermes merged commit 0dbccac into googleapis:master Dec 6, 2017
@dhermes dhermes deleted the refactor-pubsub-callback-queue branch December 6, 2017 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: pubsub Issues related to the Pub/Sub API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants