Use a day threshold

This commit is contained in:
Neil Alexander 2022-10-14 13:17:13 +01:00
parent a1abc8ee9c
commit 6018229b27
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -94,7 +94,7 @@ type Inputer struct {
// indefinitely for rooms that might no longer be active, since they do
// have an interest overhead in the NATS Server. If the room becomes
// active again then we'll recreate the consumer anyway.
const inactiveThreshold = time.Minute
const inactiveThreshold = time.Hour * 24
type worker struct {
phony.Inbox