1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-01 11:09:30 +02:00

Topic expiry attempt

This commit is contained in:
binwiederhier 2023-02-23 16:03:40 -05:00
parent 57e1104afb
commit 8eae44ea61
2 changed files with 11 additions and 15 deletions

View file

@ -40,7 +40,7 @@ func (s *Server) execManager() {
if ev.IsTrace() {
expiryMessage := ""
if subs == 0 {
expiryTime := time.Until(t.rateVisitorExpires)
expiryTime := time.Until(t.expires)
expiryMessage = ", expires in " + expiryTime.String()
}
ev.Trace("- topic %s: %d subscribers%s", t.ID, subs, expiryMessage)