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:
parent
57e1104afb
commit
8eae44ea61
2 changed files with 11 additions and 15 deletions
server
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue