wagslane / go-rabbitmq

A wrapper of streadway/amqp that provides reconnection logic and sane defaults
https://blog.boot.dev/golang/connecting-to-rabbitmq-in-golang-easy/
MIT License
785 stars 128 forks source link

fix(shutdown): lock in handlerGoroutine #175

Closed thibleroy closed 3 months ago

thibleroy commented 3 months ago

@wagslane this fix is important, as the graceful shutdown feature does not work (v0.14.1)

eric-chao commented 3 months ago

@thibleroy @wagslane @astromechza

Please see this pull request, I think this is a better fix.

https://github.com/wagslane/go-rabbitmq/pull/178

thibleroy commented 3 months ago

Thx, I close this PR