diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-12-17 12:04:54 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-12-18 16:40:51 +0100 |
commit | e148ba6dbb26a0eac162ac9a2ff550da2c883808 (patch) | |
tree | 3759902a64db4b95a0a42d110d4936d451b77546 /src/providers/ldap/sdap_sudo.c | |
parent | 4f945b6b3646fb982cc8e3c41c38059052f2240f (diff) | |
download | sssd-e148ba6dbb26a0eac162ac9a2ff550da2c883808.tar.gz sssd-e148ba6dbb26a0eac162ac9a2ff550da2c883808.tar.bz2 sssd-e148ba6dbb26a0eac162ac9a2ff550da2c883808.zip |
try primary server after retry_timeout + 1 seconds when switching to backup
https://fedorahosted.org/sssd/ticket/1679
The problem is when we are about to reset the server status, we don't
get through the timeout (30 seconds) because the "switch to primary
server" task is scheduled 30 seconds after fall back to a backup
server. Thus the server status remains "not working" and is resetted
after another 30 seconds.
We need to make sure that the server status is tried after the
timeout period. retry_timeout is currently hardcoded to 30, thus
the change in man page.
Diffstat (limited to 'src/providers/ldap/sdap_sudo.c')
0 files changed, 0 insertions, 0 deletions