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

Python Queue module based backend doesn't work with iterconsume() or wait() #23

Closed
yosh opened this issue Feb 6, 2010 · 1 comment
Closed

Comments

@yosh
Copy link

yosh commented Feb 6, 2010

iterconsume (and by extension, wait()) does:

self.backend.consume(limit=limit)

but backends/queue.py defines consumer as:

def consume(self, queue, no_ack, callback, consumer_tag):

so obviously it doesn't work. Not sure the best way to fix it, perhaps implement declare_consumer and stash the callback?

@pmclanahan
Copy link
Contributor

bump

Just encountered this. Want to use queue backend for tests.

This issue was closed.
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

No branches or pull requests

2 participants