mirror of https://github.com/celery/kombu.git
Set _consuming to True after consume
This commit is contained in:
parent
0e35cec74f
commit
1e0f46a5e4
|
@ -248,7 +248,7 @@ class Consumer(object):
|
||||||
self._receive_callback,
|
self._receive_callback,
|
||||||
no_ack=no_ack,
|
no_ack=no_ack,
|
||||||
nowait=False)
|
nowait=False)
|
||||||
self._consuming = False
|
self._consuming = True
|
||||||
|
|
||||||
def receive(self, body, message):
|
def receive(self, body, message):
|
||||||
"""Method called when a message is received.
|
"""Method called when a message is received.
|
||||||
|
|
Loading…
Reference in New Issue