[PR #340] [MERGED] WIP: Shorter lock, for #338 #1274

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

📋 Pull Request Information

Original PR: https://github.com/binwiederhier/ntfy/pull/340
Author: @binwiederhier
Created: 6/21/2022
Status: Merged
Merged: 6/22/2022
Merged by: @binwiederhier

Base: mainHead: shorter-lock


📝 Commits (5)

  • 85f2252 WIP: Shorter lock, for #338
  • c1f7bed Fix tests, lock topic as short as possible
  • edfc1b7 Delayed message lock shorter
  • ed9d99f "Fix" data race
  • 9cee8ab Call subscriber funtions in individual goroutines

📊 Changes

4 files changed (+86 additions, -47 deletions)

View changed files

📝 server/message_cache.go (+14 -12)
📝 server/message_cache_test.go (+10 -10)
📝 server/server.go (+36 -15)
📝 server/topic.go (+26 -10)

📄 Description

No description provided


🔄 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/340 **Author:** [@binwiederhier](https://github.com/binwiederhier) **Created:** 6/21/2022 **Status:** ✅ Merged **Merged:** 6/22/2022 **Merged by:** [@binwiederhier](https://github.com/binwiederhier) **Base:** `main` ← **Head:** `shorter-lock` --- ### 📝 Commits (5) - [`85f2252`](https://github.com/binwiederhier/ntfy/commit/85f2252a77a2629434460a70e45b281b5dbebd2a) WIP: Shorter lock, for #338 - [`c1f7bed`](https://github.com/binwiederhier/ntfy/commit/c1f7bed8d10d42a317f377295b05524b0b77d11a) Fix tests, lock topic as short as possible - [`edfc1b7`](https://github.com/binwiederhier/ntfy/commit/edfc1b78a1952d67a1ae94e9401b2110a0bdf2e2) Delayed message lock shorter - [`ed9d99f`](https://github.com/binwiederhier/ntfy/commit/ed9d99fd57d225d41e2c86fc551077f841e2f6cd) "Fix" data race - [`9cee8ab`](https://github.com/binwiederhier/ntfy/commit/9cee8ab8887dd24c2f1e89a5e4125c5d2c24bf80) Call subscriber funtions in individual goroutines ### 📊 Changes **4 files changed** (+86 additions, -47 deletions) <details> <summary>View changed files</summary> 📝 `server/message_cache.go` (+14 -12) 📝 `server/message_cache_test.go` (+10 -10) 📝 `server/server.go` (+36 -15) 📝 `server/topic.go` (+26 -10) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 01:01:19 +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#1274
No description provided.