Closed WalshyDev closed 2 years ago
This implements a Guava Cache to the ProtectionManager. We have this so that we can cache what the permission is on a block for a player.
The overhead of this isn't too much as it will remove the entry if it isn't read for 5 mins (approx).
There are a few things to work through first though:
expireAfterWrite
Definitely some feedback needed on this - @TheBusyBiscuit @md5sha256
This implements a Guava Cache to the ProtectionManager. We have this so that we can cache what the permission is on a block for a player.
The overhead of this isn't too much as it will remove the entry if it isn't read for 5 mins (approx).
Current Issues
There are a few things to work through first though:
expireAfterWrite
which would lessen the performance improvement but at least work.expireAfterWrite
then there is (approx) 5 mins where a player could complain over the old cacheDefinitely some feedback needed on this - @TheBusyBiscuit @md5sha256