Make the TTL returned for local answers configurable.
This commit is contained in:
1 parent
db217cd56f
commit
858a6dd253
12 files changed
+74
-47
No files matched your search
@@ -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())
|
||||
|
||||
Reference in new issue
Block a user