openrm / hato

A minimalist, customizeable AMQP framework in Node.js
MIT License
1 stars 0 forks source link

Semantic consumer acknowledgements #31

Open naggingant opened 4 years ago

naggingant commented 4 years ago

On RPCs, we should make sure these errors would not trigger retries and the message should be (negatively, when appropriate) acknowledged immediately:

https://github.com/openrm/hato/blob/aff5a27/plugins/retry/errors.js#L31

See also https://nodejs.org/api/errors.html