diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-08 12:56:52 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2011-09-22 16:29:32 -0400 |
commit | 77861bc2335233b35021cebb22c705133c1e8654 (patch) | |
tree | 564457f0d500e7f684a62f4c8991f2448db68293 | |
parent | b7f8dc24329a7de89dcc9c0bdfb933a8688260c2 (diff) | |
download | sssd-77861bc2335233b35021cebb22c705133c1e8654.tar.gz sssd-77861bc2335233b35021cebb22c705133c1e8654.tar.xz sssd-77861bc2335233b35021cebb22c705133c1e8654.zip |
Enable the midpoint cache update by default
https://fedorahosted.org/sssd/ticket/918
-rw-r--r-- | src/man/sssd.conf.5.xml | 2 | ||||
-rw-r--r-- | src/responder/nss/nsssrv.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml index bed06eb5b..4f992397e 100644 --- a/src/man/sssd.conf.5.xml +++ b/src/man/sssd.conf.5.xml @@ -329,7 +329,7 @@ (0 disables this feature) </para> <para> - Default: 0 + Default: 50 </para> </listitem> </varlistentry> diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index ec2f0caf0..fa8ad4365 100644 --- a/src/responder/nss/nsssrv.c +++ b/src/responder/nss/nsssrv.c @@ -157,7 +157,7 @@ static int nss_get_config(struct nss_ctx *nctx, if (ret != EOK) goto done; ret = confdb_get_int(cdb, nctx, CONFDB_NSS_CONF_ENTRY, - CONFDB_NSS_ENTRY_CACHE_NOWAIT_PERCENTAGE, 0, + CONFDB_NSS_ENTRY_CACHE_NOWAIT_PERCENTAGE, 50, &nctx->cache_refresh_percent); if (ret != EOK) goto done; if (nctx->cache_refresh_percent < 0 || |