summaryrefslogtreecommitdiffstats
path: root/server/providers
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-01-13 14:13:14 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-01-14 09:00:08 -0500
commit815db657bea77807798aebd782cfa69eb73b3b38 (patch)
tree802590678a9a8a36e7fba2bae076aaa18ebfdebf /server/providers
parent71585aa7e7cfb414530dc41783669a1566099890 (diff)
downloadsssd-815db657bea77807798aebd782cfa69eb73b3b38.tar.gz
sssd-815db657bea77807798aebd782cfa69eb73b3b38.tar.xz
sssd-815db657bea77807798aebd782cfa69eb73b3b38.zip
Explicitly set async DNS timeout
We will allow 5s per DNS server, no retries.
Diffstat (limited to 'server/providers')
-rw-r--r--server/providers/data_provider_fo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/providers/data_provider_fo.c b/server/providers/data_provider_fo.c
index 23c857aa0..7d0240489 100644
--- a/server/providers/data_provider_fo.c
+++ b/server/providers/data_provider_fo.c
@@ -66,7 +66,7 @@ int be_init_failover(struct be_ctx *ctx)
return ENOMEM;
}
- ret = resolv_init(ctx, ctx->ev, &ctx->be_fo->resolv);
+ ret = resolv_init(ctx, ctx->ev, 5, &ctx->be_fo->resolv);
if (ret != EOK) {
talloc_zfree(ctx->be_fo);
return ret;