batch cache lifetime =four+three+one

This commit is contained in:
xiaomlove
2023-07-29 04:01:12 +08:00
parent 3cd22fd656
commit 83d30668a6

View File

@@ -202,8 +202,9 @@ LUA;
private static function getCacheKeyLifeTime(): int
{
$four = get_setting("main.autoclean_interval_four");
$three = get_setting("main.autoclean_interval_three");
$one = get_setting("main.autoclean_interval_one");
return intval($four) + intval($one) * 2;
return intval($four) + intval($three) + intval($one);
}
}