Releases: hellofresh/health-go
Updated mongo driver to v1.0
Merge pull request #26 from hellofresh/patch/mongo-driver-1.0 PT-3479 Bumped mongo driver to 1.0
Use official mongo driver for healthcheck instead of deprecated and unmaintained one
Merge pull request #24 from hellofresh/feature/mongo-db-driver PT-2837 Use official mongo driver for healthcheck instead of deprecated and unmaintained one
Backport RabbitMQ channel fixes, and catch up 1.x branch
Some users of this library may be depending upon a 1.x
version, but since the RabbitMQ check was serious enough, we have backported the RabbitMQ check.
There was however, some additionally PRs merged to master before the library moved on to versions 2.x
that were not included in a prior release. As such, this release additionally catches up to the 1.x
branch.
What’s changed:
checks/rabbitmq
: in the event of a consume timeout, a send ondone
channel could happen after closing thedone
channelchecks/rabbitmq
: if amessages
channel unexpectedly receives more than 1 message, it will block indefinitelychecks/mysql
: added (is API divergent from2.x
)- travis files
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
RabbitMQ aliveness test
Added aliveness test in _examples/server.go.
Please use RabbitMQ aliveness test if your app has access to RabbitMQ management port (15672).
Checks update
New health-go 2.0 version released:
- MySQL check updated
- PostgreSQL check updated
- Http check test added
- More examples in
__examples/server.go
file
1.2.7
Release Notes
This release adds validation for checkers being added more than once
Changelog
Fix send on closed channel during rabbit timeout
When RabbitMQ health check timed out it was causing a panic in the running application: send on closed channel
Fixed rabbit config defaults
Merge pull request #13 from hellofresh/hotfix/defaults Fix for rabbit config defaults
Fixed RabbitMQ checker and added some tests
Merge pull request #9 from hellofresh/hotfix/tests Fixed Rabbit checker and added tests