openrm / hato

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

Fix infinite loop when both current/provided prefetch = 0 #52

Closed naggingant closed 3 years ago

naggingant commented 3 years ago

@openrm/dev

It was causing an infinite loop when no option for the prefetch count was provided (which defaults to 0)