basset/worker: hotfix for new pika (this has been in prod for a while now, just not ansiblized)

Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
Rick Elrod 2019-09-04 17:05:11 +00:00 committed by Pierre-Yves Chibon
parent a3db2ba114
commit 4d905c6aaa

View file

@ -153,7 +153,8 @@ def callback(ch, method, properties, body):
# Make sure we leave any other messages in the queue
channel.basic_qos(prefetch_count=1)
channel.basic_consume(callback, queue='check_submission')
channel.basic_consume('check_submission', callback)
# queue='check_submission')
try:
log.debug('Starting consuming')