openshift / origin-server

OpenShift 2 (deprecated)
889 stars 516 forks source link

routing-daemon: Set ActiveMQ prefetch limit to 1 #6437

Closed Miciah closed 7 years ago

Miciah commented 7 years ago

Set the ActiveMQ prefetch limit to 1 to prevent the ActiveMQ broker from sending messages faster than the routing-daemon handles them.

See http://activemq.apache.org/what-is-the-prefetch-limit-for.html.

This commit is related to bug 1227472.

https://bugzilla.redhat.com/show_bug.cgi?id=1227472

thrasher-redhat commented 7 years ago

Consumers that are unable to cache prefetched messages must set their prefetch to 1. An example of such a consumer is one implemented using a scripting language like Ruby, say, that connects via STOMP.

Yup, thats us. LGTM.

tiwillia commented 7 years ago

LGTM :pizza:

Miciah commented 7 years ago

Many thanks! openshift-bot, please [merge]!

openshift-bot commented 7 years ago

Evaluated for online merge up to 2b926b7d46ccccc63b86ab22b8f37892e240ce4c

openshift-bot commented 7 years ago

Online Merge Results: SUCCESS (https://ci.dev.openshift.redhat.com/jenkins/job/test_pull_requests/9444/) (Base Commit: 2fbcf346a1cbec8f24ecdff0047ea142539bf075) (Image: devenv_5833)