summaryrefslogtreecommitdiffstats
path: root/src/providers/fail_over.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-12-12 17:10:40 +0100
committerJakub Hrozek <jhrozek@redhat.com>2015-10-11 11:13:32 +0200
commit637813b1ce506d4396832032f0cce6800ab5753d (patch)
treee02e87146d2afd99f4aff533c3a20ae5f0cf63f8 /src/providers/fail_over.h
parent35394561d2ce12de4ace15d162e6df667b10b677 (diff)
downloadsssd-637813b1ce506d4396832032f0cce6800ab5753d.tar.gz
sssd-637813b1ce506d4396832032f0cce6800ab5753d.tar.xz
sssd-637813b1ce506d4396832032f0cce6800ab5753d.zip
FO: Use SRV TTL in fail over code
Resolves: https://fedorahosted.org/sssd/ticket/1884 Removes the hardcoded SRV TTL timeout and uses TTL from the DNS instead. Reviewed-by: Pavel Březina <pbrezina@redhat.com> (cherry picked from commit 8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6d)
Diffstat (limited to 'src/providers/fail_over.h')
-rw-r--r--src/providers/fail_over.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/fail_over.h b/src/providers/fail_over.h
index 50c0dcf8d..9bfb156da 100644
--- a/src/providers/fail_over.h
+++ b/src/providers/fail_over.h
@@ -70,7 +70,7 @@ struct fo_server;
* try when looking up the service.
*/
struct fo_options {
- time_t srv_retry_timeout;
+ time_t srv_retry_neg_timeout;
time_t retry_timeout;
enum restrict_family family_order;
};