commit c881baed29db49c5710795496cb07907e35ceaba
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Oct 11 18:03:32 2016 +0200
rabbit: Don't prefetch when batch_size is set
When the application set batch_size, so we don't need to prefetch more
messages, especially for notifications. Notifications queues can be
really big when the consumer have disapear during a long period, and
when it come back, kombu/pyamqp will fetch all messages it can. So we
override the qos prefetch value.
Reviewed: https:/ /review. openstack. org/385079 /git.openstack. org/cgit/ openstack/ oslo.messaging/ commit/ ?id=c881baed29d b49c5710795496c b07907e35ceaba
Committed: https:/
Submitter: Jenkins
Branch: master
commit c881baed29db49c 5710795496cb079 07e35ceaba
Author: Mehdi Abaakouk <email address hidden>
Date: Tue Oct 11 18:03:32 2016 +0200
rabbit: Don't prefetch when batch_size is set
When the application set batch_size, so we don't need to prefetch more
messages, especially for notifications. Notifications queues can be
really big when the consumer have disapear during a long period, and
when it come back, kombu/pyamqp will fetch all messages it can. So we
override the qos prefetch value.
Change-Id: I601e10cf94310b 9f96f7acb994295 9aaafad7994
Closes-bug: #1551667