neutron-fwaas/neutron/tests/unit/notifiers
Carl Baldwin 3be1d7a75c Replace loopingcall in notifier with a delayed send
The loopingcall thread here was started before processes fork and so
the thread stops working after the fork call.  This is a problem that
will probably need to be worked out in the long run.

To ensure that this notifier works correctly in all processes, this
change replaces the persistent loopingcall thread with a thread
created on demand to delay and batch up notifications.  The first
notification will trigger spawning the thread to wait to send it.  Any
notifications that come in the meantime will notice that there is
already a thread waiting to send and will return without spawning.

Change-Id: I519d4e89b8cee341c0e1cfffbce3e77151e8202a
Closes-Bug: #1301035
2014-04-22 16:22:02 +00:00
..
__init__.py Notify nova when ports are ready 2014-03-13 17:19:21 -07:00
test_notifiers_nova.py Replace loopingcall in notifier with a delayed send 2014-04-22 16:22:02 +00:00