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) { func(m *nats.Msg) {
roomID := m.Header.Get(jetstream.RoomID) roomID := m.Header.Get(jetstream.RoomID)
r.startWorkerForRoom(roomID) r.startWorkerForRoom(roomID)
_ = m.Ack()
}, },
nats.HeadersOnly(), nats.HeadersOnly(),
nats.DeliverAll(), nats.DeliverAll(),
nats.AckNone(), nats.AckExplicit(),
nats.ReplayInstant(),
nats.BindStream(r.InputRoomEventTopic), nats.BindStream(r.InputRoomEventTopic),
) )
return err return err