mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-03 12:13:09 -06:00
Presence stream in MemoryStorage
This commit is contained in:
parent
3dc635b0b5
commit
16b8502bdb
|
|
@ -94,6 +94,7 @@ var streams = []*nats.StreamConfig{
|
||||||
{
|
{
|
||||||
Name: OutputPresenceEvent,
|
Name: OutputPresenceEvent,
|
||||||
Retention: nats.InterestPolicy,
|
Retention: nats.InterestPolicy,
|
||||||
Storage: nats.FileStorage,
|
Storage: nats.MemoryStorage,
|
||||||
|
MaxAge: time.Minute * 5,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue