-
Notifications
You must be signed in to change notification settings - Fork 8
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
Default spec not used when specific cache spec is not defined #88
base: master
Are you sure you want to change the base?
Conversation
… string is not defined
… string is not defined
… string is not defined
… string is not defined
Hello @rmewanou , nice to e-meet you! Thanks a lot for enjoying the library and coming back with the suggestion. If understand your use case correctly, when you don't specify value for However my idea was that the library extends the Spring built-in functionality, not replaces it, so I expected that if you need such a default configuration, you just specify The custom property What do you think? Have you tried specifying |
Hi again, @rmewanou ! So I tried my suggestion with So your change does not make this situation worse. However there is another minor problem if we fix the issue the suggested way - in What if I (or you) add the logic from the previous comment myself and use it as a third option in What do you think? P.S.: Sorry, closed & reopened the PR accidentally - hot keys made fun of me. P.P.S.: Ignore the failing builds - http://nist.gov is down for some reason (temporarily, I assume), which breaks OWASP dependency check plugin. This happens few times a year and I don't own (and don't need) any caching proxy to prevent such infrequent issues. |
Hey @stepio, thanks for confirming the issue and explaining your initial thoughts on that. Please go ahead and apply the necessary changes in a new PR if you want to wrap this up. I was mostly away from public github for few days and missed your reply, apologies. |
Thanks for creating this library, @stepio. We're leveraging and loving it very much.
This change is to fix a situation where a specific cache name spec is not defined and the default spec string is not being used for that cache name. We came across that issue when running it in production and our cache size was growing indefinitely.