vacuumlabs / adalite-backend-service

Icarus, a reference implementation for a lightweight wallet developed by the IOHK Engineering Team.
Apache License 2.0
2 stars 7 forks source link

Make healthcheck more fault-tolerant #36

Closed refi93 closed 5 years ago

refi93 commented 5 years ago

Currently if the server is deemed unhealthy, it starts returning an error 500 for all requests. It would be better if only a "/healthcheck" endpoint would be affected by that and leave up to AWS to disconnect the server from the load balancer. The problem is, AWS routes to all targets if all of them are unhealthy - this should be addressed as well.

refi93 commented 5 years ago

fixed in https://github.com/vacuumlabs/adalite-backend-service/commit/5a9ba407b103d14d04db45825caf63f98ccb3d03