Skip to content

Fix caffeine config#10398

Merged
mkurz merged 1 commit into
playframework:mainfrom
mkurz:fix-caffeine-conf
Oct 13, 2022
Merged

Fix caffeine config#10398
mkurz merged 1 commit into
playframework:mainfrom
mkurz:fix-caffeine-conf

Conversation

@mkurz
Copy link
Copy Markdown
Member

@mkurz mkurz commented Jul 25, 2020

First, please have a look at how these configs get parsed here.

Now, this is what I fixed:

Adding this configs does not change the behaviour, so we can backport to 2.8.x

@marcospereira
Copy link
Copy Markdown
Member

marcospereira commented Jul 27, 2020

Also either weak-values or soft-values should be set to true at a certain moment, not both at the same time,

Hum, I wonder if it would be possible to somehow report the configuration error. Maybe logging a warn or even throwing an error. What do you think?

@mkurz mkurz force-pushed the fix-caffeine-conf branch from a4d69dd to 4eec752 Compare October 13, 2022 20:09
@mkurz mkurz merged commit 188bc41 into playframework:main Oct 13, 2022
@mkurz mkurz deleted the fix-caffeine-conf branch October 13, 2022 20:39
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

Successfully merging this pull request may close these issues.

Typo in defaults section of play-caffeine-cache reference.conf

2 participants