Closed rsandor closed 9 years ago
After some thought I think we should set the default to 0/no-timeout (same default as amqplib) and have the implementor specify their desired timeout value in the options argument when initializing hermes
What makes you believe that 0
is the appropriate timeout for the majority of our applications?
It's just the default of the underlying client that this wraps. And the underlying client is the most popular client for accessing rabbitmq.
Added new
process.env.RABBITMQ_HEARTBEAT
environment config for custom heartbeat durations.