increase batch key lifetime

This commit is contained in:
xiaomlove
2023-07-29 03:23:01 +08:00
parent a91060636f
commit 3cd22fd656
2 changed files with 4 additions and 3 deletions

View File

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