-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Impossible to set own second level cache #94
Labels
Comments
paveltizek
changed the title
Impossible to set second level cache
Impossible to set own second level cache
Jun 27, 2021
Yep, that's seems correct. Will be fixed in some new version. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cannot set own cache configuration factory as service like this:
nettrine.orm.cache:
secondLevelCache: @redisCacheConfigurationFactory::create(%tempDir%)
services:
redisCacheConfigurationFactory: Eshop\Core\Cache\RedisCacheConfigurationFactory(%redis.host%, %redis.port%)
I have to create next service so working result is
services: redisCacheConfigurationFactory: Eshop\Core\Cache\RedisCacheConfigurationFactory(%redis.host%, %redis.port%) redisCacheConfiguration: @redisCacheConfigurationFactory::create(%tempDir%)
nettrine.orm.cache: secondLevelCache: @redisCacheConfiguration
The text was updated successfully, but these errors were encountered: