Use work queue policy, deliver all on restart

This commit is contained in:
Neil Alexander 2022-01-24 11:59:28 +00:00
parent 03a989d5c9
commit 9ddb8749c1
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
2 changed files with 4 additions and 4 deletions

View file

@ -24,7 +24,7 @@ var (
var streams = []*nats.StreamConfig{
{
Name: InputRoomEvent,
Retention: nats.InterestPolicy,
Retention: nats.WorkQueuePolicy,
Storage: nats.FileStorage,
},
{