From ed434e284ba6385337f510f37ad1d6793ce319a2 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Fri, 21 Apr 2023 15:05:42 -0400 Subject: [PATCH] Disable ems init order-dialog notifications by default --- piker/clearing/_ems.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/piker/clearing/_ems.py b/piker/clearing/_ems.py index fdb1986a..7373a5ea 100644 --- a/piker/clearing/_ems.py +++ b/piker/clearing/_ems.py @@ -330,6 +330,9 @@ class Router(Struct): # broker to book map books: dict[str, DarkBook] = {} + # NOTE: disable for since stupid "dunst" + notify_on_order_loads: bool = False + # sets of clients mapped from subscription keys subscribers: defaultdict[ str, # sub key, default fqme @@ -617,6 +620,7 @@ class Router(Struct): if ( not sent_some + and self.notify_on_order_loads and notify_on_headless ): log.info(