Reduce cache validity

This commit is contained in:
Daniel Berteaud 2024-03-25 13:16:36 +01:00
parent 5c1601875c
commit 88bfec3041
2 changed files with 6 additions and 4 deletions

View File

@ -159,6 +159,8 @@ job "lemonldap-ng" {
LLNG_CUSTOM_ASSETS_DIR = "/local/assets"
}
# Use a template block instead of env {} so we can fetch values from vault
template {
data = <<_EOT
@ -180,7 +182,7 @@ logLevel = notice
localSessionStorage = Cache::FileCache
localSessionStorageOptions = { \
'namespace' => 'sessions', \
'default_expires_in' => '300', \
'default_expires_in' => '60', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 3 \
@ -237,7 +239,7 @@ dbiChain = DBI:Pg:
localStorage = Cache::FileCache
localStorageOptions = { \
'namespace' => 'config', \
'default_expires_in' => '600', \
'default_expires_in' => '60', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 0 \

View File

@ -3,7 +3,7 @@ logLevel = [[ .llng.engine.log_level ]]
localSessionStorage = Cache::FileCache
localSessionStorageOptions = { \
'namespace' => 'sessions', \
'default_expires_in' => '300', \
'default_expires_in' => '60', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 3 \
@ -36,7 +36,7 @@ dbiChain = DBI:Pg:
localStorage = Cache::FileCache
localStorageOptions = { \
'namespace' => 'config', \
'default_expires_in' => '600', \
'default_expires_in' => '60', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 0 \