summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2014-07-03 12:49:20 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-31 13:49:38 +0200
commit55f11a8d9f2228baad8a94ea46c7f3a86aac9941 (patch)
tree442d331ae6f62432507be4c61c9e6033a86d9c99 /src/providers/ldap
parent7a8f2d0e70ffe135aed9b88e49fbf9870523cf2a (diff)
downloadsssd-55f11a8d9f2228baad8a94ea46c7f3a86aac9941.tar.gz
sssd-55f11a8d9f2228baad8a94ea46c7f3a86aac9941.tar.xz
sssd-55f11a8d9f2228baad8a94ea46c7f3a86aac9941.zip
Exit offline mode only if server is available.
This patch adds periodic check to test if backend can exit offline mode and only marks backend as not offline if server for the service is available. Prior to this patch we marked backend as not offline if the offline_timeout was reached without checking for the server availability and when the next request failed again we switched back to the offline mode. This caused significant slowdowns in some edge cases. Fixes: https://fedorahosted.org/sssd/ticket/2355 Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/ldap')
0 files changed, 0 insertions, 0 deletions