Reduce LL::NG cache validity
This commit is contained in:
parent
b4b6efd98c
commit
ac63b8a1b0
|
@ -65,7 +65,11 @@ job "traefik" {
|
|||
port = "https"
|
||||
task = "traefik"
|
||||
|
||||
|
||||
meta {
|
||||
alloc = "${NOMAD_ALLOC_INDEX}"
|
||||
job = "${NOMAD_JOB_NAME}"
|
||||
namespace = "${NOMAD_NAMESPACE}"
|
||||
}
|
||||
|
||||
|
||||
# Traefik supports native Consul service mesh
|
||||
|
|
|
@ -3,12 +3,12 @@ logLevel = notice
|
|||
logger = Lemonldap::NG::Common::Logger::Std
|
||||
userLogger = Lemonldap::NG::Common::Logger::Std
|
||||
localSessionStorage = Cache::FileCache
|
||||
localSessionStorageOptions = { \
|
||||
localSessionStorageOptions = { \
|
||||
'namespace' => 'sessions', \
|
||||
'default_expires_in' => '120', \
|
||||
'directory_umask' => '007', \
|
||||
'cache_root' => '/tmp', \
|
||||
'cache_depth' => 3 \
|
||||
'default_expires_in' => '60', \
|
||||
'directory_umask' => '007', \
|
||||
'cache_root' => '/tmp', \
|
||||
'cache_depth' => 3 \
|
||||
}
|
||||
[[- range $idx, $module := coll.Slice "global" "persistent" ]]
|
||||
[[ $module ]]Storage = Lemonldap::NG::Common::Apache::Session::REST
|
||||
|
@ -31,11 +31,11 @@ password = [[ .lemonldap.config.password ]]
|
|||
realm = [[ .lemonldap.config.realm ]]
|
||||
[[- end ]]
|
||||
localStorage = Cache::FileCache
|
||||
localStorageOptions = { \
|
||||
localStorageOptions = { \
|
||||
'namespace' => 'config', \
|
||||
'default_expires_in' => '120', \
|
||||
'directory_umask' => '007', \
|
||||
'cache_root' => '/tmp', \
|
||||
'cache_depth' => 0 \
|
||||
'default_expires_in' => '60', \
|
||||
'directory_umask' => '007', \
|
||||
'cache_root' => '/tmp', \
|
||||
'cache_depth' => 0 \
|
||||
}
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ job "[[ .instance ]]" {
|
|||
port = "https"
|
||||
task = "traefik"
|
||||
|
||||
[[ template "common/metrics-meta" $c ]]
|
||||
[[ template "common/service_meta" $c ]]
|
||||
|
||||
# Traefik supports native Consul service mesh
|
||||
connect {
|
||||
|
|
Loading…
Reference in New Issue