mirror of
https://github.com/multipleof4/ntfy.git
synced 2026-10-08 21:05:21 +00:00
Implement push subscription expiry
This commit is contained in:
@@ -15,6 +15,9 @@ func (s *Server) execManager() {
|
||||
s.pruneTokens()
|
||||
s.pruneAttachments()
|
||||
s.pruneMessages()
|
||||
if s.config.WebPushEnabled {
|
||||
s.expireOrNotifyOldSubscriptions()
|
||||
}
|
||||
|
||||
// Message count per topic
|
||||
var messagesCached int
|
||||
|
||||
Reference in New Issue
Block a user