mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-25 04:27:22 +08:00
batch cache lifetime =four+three+one
This commit is contained in:
@@ -202,8 +202,9 @@ LUA;
|
|||||||
private static function getCacheKeyLifeTime(): int
|
private static function getCacheKeyLifeTime(): int
|
||||||
{
|
{
|
||||||
$four = get_setting("main.autoclean_interval_four");
|
$four = get_setting("main.autoclean_interval_four");
|
||||||
|
$three = get_setting("main.autoclean_interval_three");
|
||||||
$one = get_setting("main.autoclean_interval_one");
|
$one = get_setting("main.autoclean_interval_one");
|
||||||
return intval($four) + intval($one) * 2;
|
return intval($four) + intval($three) + intval($one);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user