• Miek Gieben's avatar
    mw/health: poll other middleware (#976) · 558f4bea
    Miek Gieben authored
    This add the infrastructure to let other middleware report their health
    status back to the health middleware. A health.Healther interface is
    introduced and a middleware needs to implement that. A middleware
    that supports healthchecks is statically configured.
    
    Every second each supported middleware is queried and the global health
    state is updated.
    
    Actual tests have been disabled as no other middleware implements this
    at the moment.
    558f4bea
middleware.md 5.83 KB