Add subscription_topic table, change updated_at type to INT, split expire function

This commit is contained in:
binwiederhier 2023-06-09 23:17:48 -04:00
parent 2e8292a65f
commit 1abcc88fce
6 changed files with 131 additions and 81 deletions

View file

@ -15,7 +15,7 @@ func (s *Server) execManager() {
s.pruneTokens()
s.pruneAttachments()
s.pruneMessages()
s.pruneOrNotifyWebPushSubscriptions()
s.pruneAndNotifyWebPushSubscriptions()
// Message count per topic
var messagesCached int