diff options
author | mschaefers <mschaefers@scoop-gmbh.de> | 2012-12-03 10:21:35 +0100 |
---|---|---|
committer | mschaefers <mschaefers@scoop-gmbh.de> | 2012-12-03 10:21:35 +0100 |
commit | 296ace81ee4f6d7d405071a91706511d0aa1bc6d (patch) | |
tree | 2bd1e0d97ac32748dc742df022b1305052950aff /distrib | |
parent | ba6ae959b8e21c714c69f66254e82837d45a3ed2 (diff) | |
download | gitblit-296ace81ee4f6d7d405071a91706511d0aa1bc6d.tar.gz gitblit-296ace81ee4f6d7d405071a91706511d0aa1bc6d.zip |
cache results of LDAP user synchronization for a configurable amount of time (realm.ldap.ldapCachePeriod = 2 MINUTES)
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/gitblit.properties | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/distrib/gitblit.properties b/distrib/gitblit.properties index a1ec3053..76112da2 100644 --- a/distrib/gitblit.properties +++ b/distrib/gitblit.properties @@ -1057,6 +1057,15 @@ realm.ldap.displayName = displayName # SINCE 1.0.0 realm.ldap.email = email +# Defines the cache period to be used when caching LDAP queries. This is currently +# only used for LDAP user synchronization. +# +# Must be of the form '<long> <TimeUnit>' where <TimeUnit> is one of 'MILLISECONDS', 'SECONDS', 'MINUTES', 'HOURS', 'DAYS' +# default: 2 MINUTES +# +# RESTART REQUIRED +realm.ldap.ldapCachePeriod = 2 MINUTES + # Defines whether to synchronize all LDAP users into the backing user service # # Valid values: true, false |