12 Commits

Author SHA1 Message Date
IanM
77ad7422e7 fix: disable fof/redis settings cache to avoid circular boot dependency (#7)
Some checks failed
GB Redis Setup PHP / run (push) Has been cancelled
GB Redis Setup JS / run (push) Has been cancelled
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
IanM
d59ebfa684 fix: extend not called (#5)
Some checks failed
GB Redis Setup PHP / run (push) Has been cancelled
GB Redis Setup JS / run (push) Has been cancelled
* fix: extend not called

* chore: phpstan
2025-11-18 22:01:50 +00:00
IanM
b03ca35d54 Extend Redis functionality with new method 2025-11-18 20:44:52 +00:00
IanM
6545bfdffc chore: migrate to fof/redis, repo maintenance (#4)
* chore: migrate to fof/redis, repo maintenance

* chore: newline

* chore: use new fof horizon initializer

* chore: revert initializer  change

Only changed for 2.x ..

* chore: remove unused secrets

Shouldn't have been added in the first place

---------

Co-authored-by: Davide Iadeluca <146922689+DavideIadeluca@users.noreply.github.com>
Co-authored-by: Davide Iadeluca <davide.iadeluca@glowingblue.com>
2025-10-10 10:50:31 +01:00
Rafael Horvat
94049c5183 Refactoring and made some methods public static(to be able to reuse them) 2023-08-09 17:04:59 +02:00
Rafael Horvat
8f82fbe078 Added the ability to configure horizon 2022-03-29 16:51:03 +02:00
Rafael Horvat
4e668a4098 conventions 2022-03-29 16:31:44 +02:00
iPurpl3x
590d0084c5 Conventions & code formating 2021-12-21 17:44:27 +01:00
Ian Morland
3284a36926 Cleanup 2021-07-05 14:12:08 +01:00
Ian Morland
68a5cafdfc Address failure when only running selected redis services 2021-07-01 21:23:57 +01:00
Ian Morland
49a6a88934 Add redis queue status widget 2021-05-27 19:17:16 +01:00
Ian Morland
504e73d3fb Init 2021-05-27 18:45:59 +01:00