Set a 120 sec timeout for cache

This commit is contained in:
Daniel Berteaud 2024-01-04 11:29:27 +01:00
parent d21fdeaca0
commit 4ac31cbbd6
1 changed files with 13 additions and 13 deletions

View File

@ -4,19 +4,19 @@ logger = Lemonldap::NG::Common::Logger::Std
userLogger = Lemonldap::NG::Common::Logger::Std
localSessionStorage = Cache::FileCache
localSessionStorageOptions = { \
'namespace' => 'sessions', \
'default_expires_in' => '10', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 3 \
'namespace' => 'sessions', \
'default_expires_in' => '120', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 3 \
}
globalStorage = Lemonldap::NG::Common::Apache::Session::REST
globalStorageOptions = { \
baseUrl => "[[ .lemonldap.sessions.url ]]", \
baseUrl => "[[ .lemonldap.sessions.url ]]", \
[[- if and (has .lemonldap.sessions "user") (has .lemonldap.sessions "password") (has .lemonldap.sessions "realm") ]]
user => "[[ .lemonldap.sessions.user ]]", \
user => "[[ .lemonldap.sessions.user ]]", \
password => "[[ .lemonldap.sessions.password ]]", \
realm => "[[ .lemonldap.sessions.realm ]]", \
realm => "[[ .lemonldap.sessions.realm ]]", \
[[- end ]]
}
@ -30,10 +30,10 @@ realm = [[ .lemonldap.config.realm ]]
[[- end ]]
localStorage = Cache::FileCache
localStorageOptions = { \
'namespace' => 'config', \
'default_expires_in' => '5', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 0 \
'namespace' => 'config', \
'default_expires_in' => '120', \
'directory_umask' => '007', \
'cache_root' => '/tmp', \
'cache_depth' => 0 \
}