summaryrefslogtreecommitdiffstats
path: root/src/resolv
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-06-13 15:58:59 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-07-11 16:52:52 -0400
commit570c8a9351b28582301d2ce6b5de3b23f72ee583 (patch)
tree9f4f865391aeb0c8abf3b02ffa481d6f1174369f /src/resolv
parent97c93859e310bc8e4ad5f011e42a5fccd4a7f369 (diff)
downloadsssd-570c8a9351b28582301d2ce6b5de3b23f72ee583.tar.gz
sssd-570c8a9351b28582301d2ce6b5de3b23f72ee583.tar.xz
sssd-570c8a9351b28582301d2ce6b5de3b23f72ee583.zip
Do not hardcode default resolver timeout
Diffstat (limited to 'src/resolv')
-rw-r--r--src/resolv/async_resolv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolv/async_resolv.h b/src/resolv/async_resolv.h
index b5547e5df..70694795e 100644
--- a/src/resolv/async_resolv.h
+++ b/src/resolv/async_resolv.h
@@ -41,6 +41,8 @@
#define RESOLV_DEFAULT_TTL 7200
#endif /* RESOLV_DEFAULT_TTL */
+#define RESOLV_DEFAULT_TIMEOUT 5
+
/*
* An opaque structure which holds context for a module using the async
* resolver. Is should be used as a "local-global" variable - in sssd,