From 8ed6630fb25c7d5af6e2d9915786b94600198b01 Mon Sep 17 00:00:00 2001 From: Pavel Reichl Date: Mon, 10 Feb 2014 15:01:35 +0000 Subject: failover: Shorter retry time for failed SRV Until now there was only one timeout used to re-resolve SRV queries. This patch adds new (shorter) timeout that will be used for queries that previously failed. Resolves: https://fedorahosted.org/sssd/ticket/1885 Reviewed-by: Jakub Hrozek --- src/providers/fail_over.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/providers/fail_over.h') diff --git a/src/providers/fail_over.h b/src/providers/fail_over.h index e4cc1b1cb..b1ec6a23c 100644 --- a/src/providers/fail_over.h +++ b/src/providers/fail_over.h @@ -71,11 +71,15 @@ struct fo_server; * The 'srv_retry_timeout' member specifies how long a SRV lookup * is considered valid until we ask the server again. * + * The 'srv_retry_neg_timeout' member specifies how long a SRV lookup + * waits before previously failed lookup is tried again. + * * The family_order member specifies the order of address families to * try when looking up the service. */ struct fo_options { time_t srv_retry_timeout; + time_t srv_retry_neg_timeout; time_t retry_timeout; int service_resolv_timeout; enum restrict_family family_order; -- cgit