mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Use AckNone
on the ephemeral room input consumer
This commit is contained in:
parent
b05e028f7d
commit
482914aef4
1 changed files with 1 additions and 2 deletions
|
@ -172,11 +172,10 @@ 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.AckAll(),
|
||||
nats.AckNone(),
|
||||
nats.BindStream(r.InputRoomEventTopic),
|
||||
)
|
||||
return err
|
||||
|
|
Loading…
Reference in a new issue