[PR #1630] [CLOSED] Add debounce-mechanism to messages #1672

Closed
opened 2026-05-07 01:03:11 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/1630
Author: @BeeJay28
Created: 3/1/2026
Status: Closed

Base: mainHead: 1550-Add-debounce-to-messages


📝 Commits (2)

  • ad87702 Add debounce-interval-option to config
  • a877d63 Add debounce-mechanism to message-publishing + test-cases. A map simply tracks via message-based hash and timestamp if an identical message was recently sent

📊 Changes

5 files changed (+101 additions, -0 deletions)

View changed files

📝 cmd/serve.go (+7 -0)
📝 server/config.go (+3 -0)
📝 server/errors.go (+1 -0)
📝 server/server.go (+29 -0)
📝 server/server_test.go (+61 -0)

📄 Description

Fixes #1550

Default-config-value: time.Duration(0), implying no debounce is used


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/binwiederhier/ntfy/pull/1630 **Author:** [@BeeJay28](https://github.com/BeeJay28) **Created:** 3/1/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `1550-Add-debounce-to-messages` --- ### 📝 Commits (2) - [`ad87702`](https://github.com/binwiederhier/ntfy/commit/ad877026f68c8aa1c77e3fdb734c9cb4d066caed) Add debounce-interval-option to config - [`a877d63`](https://github.com/binwiederhier/ntfy/commit/a877d6357d4831437d3b992f17bc2f9486aeb749) Add debounce-mechanism to message-publishing + test-cases. A map simply tracks via message-based hash and timestamp if an identical message was recently sent ### 📊 Changes **5 files changed** (+101 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/serve.go` (+7 -0) 📝 `server/config.go` (+3 -0) 📝 `server/errors.go` (+1 -0) 📝 `server/server.go` (+29 -0) 📝 `server/server_test.go` (+61 -0) </details> ### 📄 Description Fixes #1550 Default-config-value: time.Duration(0), implying no debounce is used --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:03:11 +02:00
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#1672
No description provided.