summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--releasenotes/notes/background-thread-notifier-21b36a5f5c8dec0e.yaml12
1 files changed, 12 insertions, 0 deletions
diff --git a/releasenotes/notes/background-thread-notifier-21b36a5f5c8dec0e.yaml b/releasenotes/notes/background-thread-notifier-21b36a5f5c8dec0e.yaml
new file mode 100644
index 0000000..d1a6181
--- /dev/null
+++ b/releasenotes/notes/background-thread-notifier-21b36a5f5c8dec0e.yaml
@@ -0,0 +1,12 @@
+---
+features:
+ - Introduced option to send notifications from a background thread
+ instead of blocking the service response to send the
+ notification. This option is disabled by default, retaining
+ previous behavior. Enable by setting ``nonblocking_notify`` to
+ ``True`` in the middleware configuration. When enabled
+ notifications will be queued for delivery in a single thread.
+ Set ``send_queue_size`` to customize the length of this delivery
+ queue (default size 1000).
+ - Introduced option to customize the logging level using the
+ ``log_level`` option (default WARNING).