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
|
||||
|
|
|
@ -5,7 +5,7 @@ userLogger = Lemonldap::NG::Common::Logger::Std
|
|||
localSessionStorage = Cache::FileCache
|
||||
localSessionStorageOptions = { \
|
||||
'namespace' => 'sessions', \
|
||||
'default_expires_in' => '120', \
|
||||
'default_expires_in' => '60', \
|
||||
'directory_umask' => '007', \
|
||||
'cache_root' => '/tmp', \
|
||||
'cache_depth' => 3 \
|
||||
|
@ -33,7 +33,7 @@ realm = [[ .lemonldap.config.realm ]]
|
|||
localStorage = Cache::FileCache
|
||||
localStorageOptions = { \
|
||||
'namespace' => 'config', \
|
||||
'default_expires_in' => '120', \
|
||||
'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
Block a user