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
} }