From 637813b1ce506d4396832032f0cce6800ab5753d Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Fri, 12 Dec 2014 17:10:40 +0100 Subject: FO: Use SRV TTL in fail over code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 8df69bbc58c2f4d3f0b34be9756d9ddf24b1db6d) --- src/providers/fail_over.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/providers/fail_over.h') 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; }; -- cgit