oslo.service/releasenotes/notes/timer-stop_on_exception-9f21d7c4d6d1b0d9.yaml
Duc Truong 48c51fe9cd Add stop_on_exception to TG timers
ThreadGroup add_dynamic_timer_args and add_timer_args use
DynamicLoopingCall and FixedIntervalLoopingCall respectively.  Both
classes have support for stop_on_exception, but this parameter was not
exposed in ThreadGroup functions to create timers.

This change adds the missing stop_on_exception to the timer functions so
that ThreadGroup timers can continue on exceptions if the user chooses
to do so.

Change-Id: If03276f290e86e95ddc0b1d749b7460ed752b8ef
Co-Authored-By: Zane Bitter <zbitter@redhat.com>
2018-12-10 11:13:00 +13:00

7 lines
251 B
YAML

---
features:
- |
The ThreadGroup add_timer_args() and add_dynamic_timer_args() methods now
support passing a stop_on_exception=False argument to allow the timer to
keep running even when an exception is raised by the callback function.