mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Use a day threshold
This commit is contained in:
parent
a1abc8ee9c
commit
6018229b27
|
|
@ -94,7 +94,7 @@ type Inputer struct {
|
||||||
// indefinitely for rooms that might no longer be active, since they do
|
// indefinitely for rooms that might no longer be active, since they do
|
||||||
// have an interest overhead in the NATS Server. If the room becomes
|
// have an interest overhead in the NATS Server. If the room becomes
|
||||||
// active again then we'll recreate the consumer anyway.
|
// active again then we'll recreate the consumer anyway.
|
||||||
const inactiveThreshold = time.Minute
|
const inactiveThreshold = time.Hour * 24
|
||||||
|
|
||||||
type worker struct {
|
type worker struct {
|
||||||
phony.Inbox
|
phony.Inbox
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue