From 77861bc2335233b35021cebb22c705133c1e8654 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Thu, 8 Sep 2011 12:56:52 -0400 Subject: Enable the midpoint cache update by default https://fedorahosted.org/sssd/ticket/918 --- src/man/sssd.conf.5.xml | 2 +- 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 bed06eb5..4f992397 100644 --- a/src/man/sssd.conf.5.xml +++ b/src/man/sssd.conf.5.xml @@ -329,7 +329,7 @@ (0 disables this feature) - Default: 0 + Default: 50 diff --git a/src/responder/nss/nsssrv.c b/src/responder/nss/nsssrv.c index ec2f0caf..fa8ad436 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 || -- cgit