Ensure HealthChecks can be disabled
This commit is contained in:
parent
4a621cbb2f
commit
f2ea8eb2cf
@ -389,7 +389,7 @@ instance FromJSON AppSettings where
|
|||||||
appJwtExpiration <- o .:? "jwt-expiration"
|
appJwtExpiration <- o .:? "jwt-expiration"
|
||||||
appJwtEncoding <- o .: "jwt-encoding"
|
appJwtEncoding <- o .: "jwt-encoding"
|
||||||
|
|
||||||
appHealthCheckInterval <- o .: "health-check-interval"
|
appHealthCheckInterval <- (assertM' (> 0) . ) <$> o .: "health-check-interval"
|
||||||
appHealthCheckDelayNotify <- o .: "health-check-delay-notify"
|
appHealthCheckDelayNotify <- o .: "health-check-delay-notify"
|
||||||
appHealthCheckHTTP <- o .: "health-check-http"
|
appHealthCheckHTTP <- o .: "health-check-http"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user