mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 20:40:49 +08:00
increase batch key lifetime
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user