mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-30 10:11:56 -06:00
Disable interest policies
This commit is contained in:
parent
74735e7cd5
commit
ec4e0302c0
|
@ -18,12 +18,12 @@ var (
|
||||||
var streams = []*nats.StreamConfig{
|
var streams = []*nats.StreamConfig{
|
||||||
{
|
{
|
||||||
Name: OutputRoomEvent,
|
Name: OutputRoomEvent,
|
||||||
Retention: nats.InterestPolicy,
|
//Retention: nats.InterestPolicy,
|
||||||
Storage: nats.FileStorage,
|
Storage: nats.FileStorage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: OutputSendToDeviceEvent,
|
Name: OutputSendToDeviceEvent,
|
||||||
Retention: nats.InterestPolicy,
|
//Retention: nats.InterestPolicy,
|
||||||
Storage: nats.FileStorage,
|
Storage: nats.FileStorage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -33,18 +33,18 @@ var streams = []*nats.StreamConfig{
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: OutputTypingEvent,
|
Name: OutputTypingEvent,
|
||||||
Retention: nats.InterestPolicy,
|
//Retention: nats.InterestPolicy,
|
||||||
Storage: nats.MemoryStorage,
|
Storage: nats.MemoryStorage,
|
||||||
MaxAge: time.Second * 60,
|
MaxAge: time.Second * 60,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: OutputClientData,
|
Name: OutputClientData,
|
||||||
Retention: nats.InterestPolicy,
|
//Retention: nats.InterestPolicy,
|
||||||
Storage: nats.FileStorage,
|
Storage: nats.FileStorage,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: OutputReceiptEvent,
|
Name: OutputReceiptEvent,
|
||||||
Retention: nats.InterestPolicy,
|
//Retention: nats.InterestPolicy,
|
||||||
Storage: nats.FileStorage,
|
Storage: nats.FileStorage,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue