This commit is contained in:
Neil Alexander 2022-09-14 09:55:50 +01:00
parent 482914aef4
commit 7f89fed1e4
No known key found for this signature in database
GPG Key ID: A02A2019A2BB0944

View File

@ -172,10 +172,12 @@ func (r *Inputer) Start() error {
func(m *nats.Msg) {
roomID := m.Header.Get(jetstream.RoomID)
r.startWorkerForRoom(roomID)
_ = m.Ack()
},
nats.HeadersOnly(),
nats.DeliverAll(),
nats.AckNone(),
nats.AckExplicit(),
nats.ReplayInstant(),
nats.BindStream(r.InputRoomEventTopic),
)
return err