LuckPerms/common
Luck adbd2fc81f
Use ConcurrentHashMap instead of Caffeine in CachedDataManager
The behaviour of Caffeine cache invalidation calls is "undefined for an entry that is being loaded (or reloaded)" - this causes a nasty race condition in CachedDataManager, because we rely on the call to #invalidate to completely clear the cache and prevent old/outdated data from sticking around & being used for permission queries.

This is an unfortunate characteristic of Caffeine, because other than that, it is perfect for our use-case.
2020-07-03 17:57:53 +01:00
..
src/main Use ConcurrentHashMap instead of Caffeine in CachedDataManager 2020-07-03 17:57:53 +01:00
build.gradle Update some dependencies 2020-06-10 20:41:39 +01:00