Make the TTL returned for local answers configurable.

This commit is contained in:
Alvaro Saurin committed 2015-05-29 12:50:18 +02:00
1 parent db217cd56f
commit 858a6dd253
12 files changed
+74 -47

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ var (
)
const (
DefaultCacheNegLocalTTL = 30 // Default TTL for negative local resolutions
defPendingTimeout int = 5 // timeout for a resolution
)