Skip to content

Commit

Permalink
Disable ems init order-dialog notifications by default
Browse files Browse the repository at this point in the history
  • Loading branch information
goodboy committed May 9, 2023
1 parent a0aaae9 commit 0900d51
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions piker/clearing/_ems.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -617,6 +620,7 @@ async def client_broadcast(

if (
not sent_some
and self.notify_on_order_loads
and notify_on_headless
):
log.info(
Expand Down

0 comments on commit 0900d51

Please sign in to comment.