Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken basic configuration without sentinel/replication in v4.4.0 #684

Closed
p4veI opened this issue Dec 12, 2022 · 1 comment
Closed

Broken basic configuration without sentinel/replication in v4.4.0 #684

p4veI opened this issue Dec 12, 2022 · 1 comment

Comments

@p4veI
Copy link

p4veI commented Dec 12, 2022

Hello, while updating the snc-redis library in my project which uses basic predis configuration for this bundle, the configuration I'm using fails with InvalidArgumentException:

Values evaluating to FALSE are not accepted for `replication`

My configuration looks like this:

snc_redis:
    clients:
        default:
            type: predis
            alias: default
            dsn: '%env(REDIS_DSN)%'

I believe the issue is caused by the change in config options for the newly added sentinel support in the Configuration.php file 6f654e4

We're not using replication so I believe it's impossible for me to adjust the config so the value can be passes. Neither the above config nor including the following works.

options:
  replication: false
@ostrolucky
Copy link
Collaborator

duplicate of #683

@ostrolucky ostrolucky closed this as not planned Won't fix, can't repro, duplicate, stale Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants