summaryrefslogtreecommitdiffstats
path: root/src/providers
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2013-08-09 11:26:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-09 18:13:42 +0200
commit8d4485d2c6ba4b4116f85c60a5af429ad830ca1e (patch)
treee9c8b86aea6f96e44905e31efe0ce10f158ba993 /src/providers
parent1e50573f8f18d10ac8b1f390b1257eef196b3114 (diff)
downloadsssd-8d4485d2c6ba4b4116f85c60a5af429ad830ca1e.tar.gz
sssd-8d4485d2c6ba4b4116f85c60a5af429ad830ca1e.tar.xz
sssd-8d4485d2c6ba4b4116f85c60a5af429ad830ca1e.zip
Set default DNS resolution timeout to 6 seconds.
Partially solves ticket: https://fedorahosted.org/sssd/ticket/1966 To avoid the problem mentioned in the ticket above, option dns_discovery_domain must be set properly
Diffstat (limited to 'src/providers')
-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 1ad081e78..c86e53916 100644
--- a/src/providers/fail_over.h
+++ b/src/providers/fail_over.h
@@ -33,7 +33,7 @@
#define FO_PROTO_TCP "tcp"
#define FO_PROTO_UDP "udp"
-#define FO_DEFAULT_SVC_TIMEOUT 10
+#define FO_DEFAULT_SVC_TIMEOUT 6
/* Some forward declarations that don't have to do anything with fail over. */
struct hostent;