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

+1 -1
View File
@@ -17,7 +17,7 @@ func TestServerCacheRefresh(t *testing.T) {
containerID = "somecontainer"
testName1 = "first.weave.local."
testName2 = "second.weave.local."
refreshInterval = int(localTTL) / 3
refreshInterval = int(DefaultLocalTTL) / 3
)
InitDefaultLogging(testing.Verbose())