Update binwiederhier/ntfy Docker tag to v2.37.1 #79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/binwiederhier-ntfy-2.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v2.36.0→v2.37.1Release Notes
binwiederhier/ntfy (binwiederhier/ntfy)
v2.37.1Compare Source
This release fixes a database slowdown in v2.37.0 when using
visitor-subscriber-rate-limitingwith a user database: the subscriber activity of UnifiedPush topics was written far too often.Bug fixes + maintenance:
visitor-subscriber-rate-limitingand a user database, write a UnifiedPush topic's subscriber activity every one to two hours instead of every 5 minutes, spread over time, and not at all when a poll or reconnect only repeats the same subscriber; on ntfy.sh, v2.37.0's writes of ~45k topics every 5 minutes, all due in the same minute, slowed down the database (#2151)v2.37.0Compare Source
This release makes UnifiedPush work across several servers: the subscriber who pays for a topic's pushes is shared through the database, and app servers are told with
410 Gonewhen a subscription has been abandoned for 4 days. It also addsRetry-Afterand the draftRateLimitheaders to rate limit responses, and frees the memory of one-off visitors sooner.Features:
visitor-subscriber-rate-limiting, the subscriber of a UnifiedPush topic (who pays for its pushes) is kept in the user database and shared by all servers, so a push to any server is billed to the subscriber instead of answered with 507 (#2136; see subscriber-based rate limiting)Retry-Afterheader with HTTP 429 responses that are caused by a rate limit with a known wait, e.g. the request, e-mail or daily message limits (#2142; see rate limiting)RateLimit-PolicyandRateLimitheaders with publish responses (and with every 429 caused by a limit with a quota), for the request and daily message limits (#2143; see rate limiting)ntfy_topics_unifiedpush_total: the UnifiedPush topics whose subscriber state a server keeps in memory (#2136)Behavior changes:
visitor-subscriber-rate-limiting, a UnifiedPush push to a topic that has had no subscriber (subscribe, poll or open stream) for 4 days is answered with410(error code 41002) instead of507, so app servers like Mastodon remove the expired subscription (#664, #2136); a Matrix push to such a topic gets its pushkey rejected (before: after 12 hours without a subscriber on the server that got the push)visitor-subscriber-rate-limiting, UnifiedPush messages are counted against the subscriber's account only while it has a tier, and against the subscriber's IP address otherwise (also after the account lost its tier or was deleted); a tier change applies to the next message (#2136)0.001), auth failures (42909) now weigh 2 instead of 10, and a UnifiedPush push without a subscriber (50701) or to an abandoned topic (41002) weighs 0.05, so app servers pushing to many offline phones are not banned for it (#2147)visitorsstat and thentfy_visitors_totalmetric therefore count the visitors of roughly the last minute, not of the last day (#2126)visitor-topic-creation-limit-burst) (#2136)Bug fixes + maintenance:
ntfy_cluster_messages_wasted_total) and no longer keeps that idle topic in memory (#2140)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.
dc55c6d43atof3b9c2245e