use correct queue for gather stage
This commit is contained in:
parent
c9c1eb4848
commit
202c9d9fcc
|
@ -114,7 +114,7 @@ class Harvester(CkanCommand):
|
||||||
from ckanext.harvest.queue import get_gather_consumer, gather_callback
|
from ckanext.harvest.queue import get_gather_consumer, gather_callback
|
||||||
logging.getLogger('amqplib').setLevel(logging.INFO)
|
logging.getLogger('amqplib').setLevel(logging.INFO)
|
||||||
consumer = get_gather_consumer()
|
consumer = get_gather_consumer()
|
||||||
for method, header, body in consumer.consume(queue='ckan.harvest.fetch'):
|
for method, header, body in consumer.consume(queue='ckan.harvest.gather'):
|
||||||
gather_callback(consumer, method, header, body)
|
gather_callback(consumer, method, header, body)
|
||||||
elif cmd == 'fetch_consumer':
|
elif cmd == 'fetch_consumer':
|
||||||
import logging
|
import logging
|
||||||
|
|
Loading…
Reference in New Issue