diff options
author | Darren Hague <d.hague@sap.com> | 2016-06-13 15:48:30 +0100 |
---|---|---|
committer | Darren Hague <d.hague@sap.com> | 2016-07-11 16:37:13 +0100 |
commit | c7cba1fe02e03744e5b45e54c84f3e971b450698 (patch) | |
tree | 52e4dde73718f1e077288ea82c15144a7e2f0139 /HACKING.rst | |
parent | c962fedb851c4bdc36f43b22d55efc82ca1d0dfd (diff) | |
download | ceilometermiddleware-c7cba1fe02e03744e5b45e54c84f3e971b450698.tar.gz |
Add background thread notifier sending ability
Add ability to hand off notifier event sending to a queue processed by
a background thread so as not to block swift proxy. This fixes an
issue whereby if ceilometer's RabbitMQ went down then the swift proxy
would wait for it to come back up, effectively coupling Swift's
availabiilty to that of Ceilometer's RabbitMQ.
Background sending is activated by setting config item
'nonblocking_notify' to True.
Queue size defaults to 1000, which can be overridden by setting config
item 'send_queue_size'. If the queue is full, new events are discarded.
Change-Id: I3da2b88b2bc9b7fd8c572a0085fa1d78c4f54701
Diffstat (limited to 'HACKING.rst')
0 files changed, 0 insertions, 0 deletions