Commit Graph

6 Commits

Author SHA1 Message Date
IanM
77ad7422e7 fix: disable fof/redis settings cache to avoid circular boot dependency (#7)
fof/redis >=1.1 introduces a `settings` service that replaces
SettingsRepositoryInterface with a Redis-backed caching layer.
Enabling it here creates a circular dependency: this extension reads
settings to decide which Redis services to enable, but with the
settings cache active those reads require Redis to already be wired.

Always disable the `settings` service when delegating to fof/redis.
Also fixes a cast-precedence bug in the database env var helpers
where `(int) getenv(...) ? getenv(...) : N` applied the cast to the
ternary condition rather than the result, causing REDIS_DATABASE_*=0
to return the default instead of 0.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-03 17:29:17 +00:00
iPurpl3x
590d0084c5 Conventions & code formating 2021-12-21 17:44:27 +01:00
Ian Morland
68af330669 Add optional prefix 2021-07-01 21:28:35 +01:00
Ian Morland
09a30f786d Update usage 2021-07-01 21:26:55 +01:00
iPurpl3x
66d39fd0d4 Updated README & description 2021-05-31 10:58:11 +02:00
Ian Morland
504e73d3fb Init 2021-05-27 18:45:59 +01:00