[GH-ISSUE #1550] Debounce messages #1092

Closed
opened 2026-05-07 00:30:12 +02:00 by BreizhHardware · 2 comments

Originally created by @jlaffaye on GitHub (Jan 16, 2026).
Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1550

💡 Idea
Add a debounce mechanism to prevent flooding messages.
Introduce two new parameters:

  • debounce_key: this will be used to group messages that should be debounced
  • debounce_interval: a period (like the current delay parameter)

Every message with the same debounce_key will be dropped if another message was successfully sent (not drropped) in the debounce_interval interval.

💻 Target components

ntfy server

Originally created by @jlaffaye on GitHub (Jan 16, 2026). Original GitHub issue: https://github.com/binwiederhier/ntfy/issues/1550 :bulb: **Idea** Add a debounce mechanism to prevent flooding messages. Introduce two new parameters: - `debounce_key`: this will be used to group messages that should be debounced - `debounce_interval`: a period (like the current `delay` parameter) Every message with the same `debounce_key` will be dropped if another message was successfully sent (not drropped) in the `debounce_interval` interval. :computer: **Target components** ntfy server
BreizhHardware 2026-05-07 00:30:12 +02:00
Author
Owner

@BeeJay28 commented on GitHub (Jan 26, 2026):

Hello, I'd like to implement this issue, if that is ok.
I would maybe just hash the message-content with a quick hash-alg and use that, instead of manually providing the debounce-key. That should be sufficient to detect duplicates, unless there's another good reason for a manual debounce-key

<!-- gh-comment-id:3798248313 --> @BeeJay28 commented on GitHub (Jan 26, 2026): Hello, I'd like to implement this issue, if that is ok. I would maybe just hash the message-content with a quick hash-alg and use that, instead of manually providing the debounce-key. That should be sufficient to detect duplicates, unless there's another good reason for a manual debounce-key
Author
Owner

@binwiederhier commented on GitHub (Mar 8, 2026):

Implement a client side debounce here github.com/binwiederhier/ntfy@109271a930

<!-- gh-comment-id:4019789436 --> @binwiederhier commented on GitHub (Mar 8, 2026): Implement a client side debounce here https://github.com/binwiederhier/ntfy/commit/109271a93049e544d8b2e5c9cf4e6098700fa11c
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ntfy#1092
No description provided.