0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-15 22:31:07 +01:00

Revert consumer change

This commit is contained in:
Neil Alexander 2022-01-31 10:42:41 +00:00
parent a271fde8f5
commit eb8e770e99
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -120,7 +120,7 @@ func (r *Inputer) Start() error {
nats.DeliverAll(), nats.DeliverAll(),
// Ensure that NATS doesn't try to resend us something that wasn't done // Ensure that NATS doesn't try to resend us something that wasn't done
// within the period of time that we might still be processing it. // within the period of time that we might still be processing it.
nats.AckWait((MaximumMissingProcessingTime*2)+(time.Second*10)), nats.AckWait(MaximumMissingProcessingTime+(time.Second*10)),
) )
return err return err
} }