diff options
author | Pavel Reichl <preichl@redhat.com> | 2014-02-10 15:01:35 +0000 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-04-14 12:56:44 +0200 |
commit | 8ed6630fb25c7d5af6e2d9915786b94600198b01 (patch) | |
tree | 6a7725489b36bfb599838c4a3bbbbab081b3efb5 /src/providers/data_provider_fo.c | |
parent | 4f6931e854c698dcb1c09f99eb330ce2fb97e7c6 (diff) | |
download | sssd-8ed6630fb25c7d5af6e2d9915786b94600198b01.tar.gz sssd-8ed6630fb25c7d5af6e2d9915786b94600198b01.tar.xz sssd-8ed6630fb25c7d5af6e2d9915786b94600198b01.zip |
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 <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/data_provider_fo.c')
-rw-r--r-- | src/providers/data_provider_fo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/providers/data_provider_fo.c b/src/providers/data_provider_fo.c index 526ae58f1..0a443c04f 100644 --- a/src/providers/data_provider_fo.c +++ b/src/providers/data_provider_fo.c @@ -71,6 +71,7 @@ static int be_fo_get_options(struct be_ctx *ctx, DP_RES_OPT_RESOLVER_TIMEOUT); opts->retry_timeout = 30; opts->srv_retry_timeout = 14400; + opts->srv_retry_neg_timeout = 15; opts->family_order = ctx->be_res->family_order; return EOK; |