-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Lock] The choice of a store name from env vars doesn't work #27555
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
Comments
…usse) This PR was merged into the 4.3-dev branch. Discussion ---------- Use env variable to create anytype of lock store | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #27555 | License | MIT | Doc PR | NA In lock configuration, at the moment, env variable are only able to resolve DNS which are able to create RedisStore and MemcachedStore. This PR update the StoreFactory to be able to also create connection at runtime. Commits ------- 6b57ea9 Use env variable to create anytype of lock store
This still not working! If we set console output:
Symfony version: 4.3.2 |
@ronisaha This looks like a configuration issue to me. The error mentions the Cache component. |
@xabbuh This is because the factory used Symfony\Component\Cache\Adapter\AbstractAdapter |
Any update on this issue? |
This should be fixed by https://github.com/symfony/symfony/pull/34043/files and release in Symfony 4.4 Could you have a try? |
@jderusse Tested in 4.4.4, it's working. |
Symfony version(s) affected: 4.1.0
Description
semaphore/flock - error
redis/memcached dsn - ok
How to reproduce
The text was updated successfully, but these errors were encountered: