Purple-Devs / health_check

Simple health check of Rails app for use with uptime checking sites like newrelic and pingdom
MIT License
476 stars 125 forks source link

Different host for Redis #63

Closed CaioCSdev closed 6 years ago

CaioCSdev commented 7 years ago

Hi,

RedisHealthCheck is always failing because my redis is in another host, and the test only checks the default host: 127.0.0.1. Is there a way to set a redis host to HealthCheck?

Thanks

ianheggie commented 7 years ago

Not currently, but I put a comment on #62 about implementing a config.options so options could be passed to tests. Do you want to submit a PR with this change?

archana-juvo commented 7 years ago

I've opened a pull request for this issue https://github.com/ianheggie/health_check/pull/65

ianheggie commented 6 years ago

Thanks @archana-juvo! - I have merged that PR.