Skip to content
Snippets Groups Projects
Commit 8c4db3e5 authored by Martin Lowe's avatar Martin Lowe :flag_ca:
Browse files

fix(cache): Disable Redis healthcheck that breaks APIs that don't use it

Discovered while testing an API with the newest version of the SDK, the
health check caused crash loops as Redis wasn't available. We don't want
the service to restart if Redis is missing, as it's an optional service.
parent 0ba09475
No related branches found
No related tags found
1 merge request!264fix(cache): Disable Redis healthcheck that breaks APIs that don't use it
Pipeline #70438 passed
......@@ -13,4 +13,7 @@ quarkus.redis.hosts=redis://localhost:6379
## As this might not be configured, turn it off by default
quarkus.micrometer.enabled=false
## If we have metrics, we should enable caching metrics
quarkus.cache.caffeine.metrics-enabled=${quarkus.micrometer.enabled}
\ No newline at end of file
quarkus.cache.caffeine.metrics-enabled=${quarkus.micrometer.enabled}
## Disabled by default - crashes APIs where redis isn't available/configured otherwise
## Redis service is also best efforts, and has a built in failover when not available
quarkus.redis.health.enabled=false
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment