Subtle RabbitMQ channel fixes.
Fixes two subtle race-conditions in the checks/rabbitmq
package:
- in the event of a consume timeout, a send on
done
channel could happen after closing thedone
channel - if a
messages
channel unexpectedly receives more than 1 message, it will block indefinitely