dpward / rpms / sssd

Forked from rpms/sssd 3 years ago
Clone

Blame SOURCES/0003-MAN-Document-memcache_timeout-0-meaning.patch

ced1f5
From 22bd144b48e83d812dd823298b723983c4e3288a Mon Sep 17 00:00:00 2001
ced1f5
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzidek@redhat.com>
ced1f5
Date: Thu, 19 Oct 2017 16:46:43 +0200
ced1f5
Subject: [PATCH 03/21] MAN: Document memcache_timeout=0 meaning
ced1f5
MIME-Version: 1.0
ced1f5
Content-Type: text/plain; charset=UTF-8
ced1f5
Content-Transfer-Encoding: 8bit
ced1f5
ced1f5
Document that by setting memcache_timeout to 0 the in-memoory cache
ced1f5
will be disabled.
ced1f5
ced1f5
Related:
ced1f5
https://pagure.io/SSSD/sssd/issue/3496
ced1f5
ced1f5
Reviewed-by: Sumit Bose <sbose@redhat.com>
ced1f5
Reviewed-by: Pavel Březina <pbrezina@redhat.com>
ced1f5
Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
ced1f5
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
ced1f5
(cherry picked from commit 1becbb7bec29a3d418d8f19fc52433cf86bcf395)
ced1f5
---
ced1f5
 src/man/sssd.conf.5.xml | 9 ++++++++-
ced1f5
 1 file changed, 8 insertions(+), 1 deletion(-)
ced1f5
ced1f5
diff --git a/src/man/sssd.conf.5.xml b/src/man/sssd.conf.5.xml
ced1f5
index 7752e450835b5beba50ddc4c635ff985d38ca421..7443f718319e292842c670aaf47cfc537545d021 100644
ced1f5
--- a/src/man/sssd.conf.5.xml
ced1f5
+++ b/src/man/sssd.conf.5.xml
ced1f5
@@ -974,12 +974,19 @@ fallback_homedir = /home/%u
ced1f5
                     <listitem>
ced1f5
                         <para>
ced1f5
                             Specifies time in seconds for which records
ced1f5
-                            in the in-memory cache will be valid.
ced1f5
+                            in the in-memory cache will be valid. Setting this
ced1f5
+                            option to zero will disable the in-memory cache.
ced1f5
                         </para>
ced1f5
                         <para>
ced1f5
                             Default: 300
ced1f5
                         </para>
ced1f5
                         <para>
ced1f5
+                            WARNING: Disabling the in-memory cache will
ced1f5
+                            have significant negative impact on SSSD's
ced1f5
+                            performance and should only be used for
ced1f5
+                            testing.
ced1f5
+                        </para>
ced1f5
+                        <para>
ced1f5
                             NOTE: If the environment variable
ced1f5
                             SSS_NSS_USE_MEMCACHE is set to "NO", client
ced1f5
                             applications will not use the fast in-memory
ced1f5
-- 
ced1f5
2.13.5
ced1f5