CacheConfigManager is not working #31493
-
I was looking into https://quarkus.io/guides/cache#quarkus-cache-config-group-cache-config-caffeine-config_configuration I have implemeted the cache, but unable to set the expireAfterWrite at runtime. I was getting the following error
I think the issue is that cache is already created before the runtime values is configured, but not sure So I was trying to implement a CacheConfigManager, but the code given in guide is wrong. What is the correct way to move forward. Also is there a way or an option to disable cache at runtime? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
/cc @gwenneg (cache) |
Beta Was this translation helpful? Give feedback.
-
Hi @RiyasIbrahim. Could you please tell me the version of Quarkus you depend on? |
Beta Was this translation helpful? Give feedback.
-
There is indeed in a typo in the |
Beta Was this translation helpful? Give feedback.
-
#31633 should fix the code from the doc. Please let me know if you find any other issue. |
Beta Was this translation helpful? Give feedback.
#31633 should fix the code from the doc. Please let me know if you find any other issue.