Rename method

This commit is contained in:
2022-12-20 22:49:20 +01:00
parent d09c59996b
commit 161c91b45d
3 changed files with 5 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ public class LoveCalculator
{
loveAmount = RandomUtil.getRandomNumber(0, 100);
Cache.cacheLoveCalculatorValue(userId1, userId2, loveAmount);
Cache.getScheduler().schedule(() ->
Cache.getTaskScheduler().schedule(() ->
Cache.removeLoveCalculatorValue(userId1, userId2), 10, TimeUnit.MINUTES);
}