ceilometermiddleware/ceilometermiddleware
Darren Hague c7cba1fe02 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
2016-07-11 16:37:13 +01:00
..
tests Add background thread notifier sending ability 2016-07-11 16:37:13 +01:00
__init__.py initial checkin 2015-01-20 18:36:18 -05:00
swift.py Add background thread notifier sending ability 2016-07-11 16:37:13 +01:00