Browse Source

Avoid nDB stale entries because of intermittent nw issues.

Signed-off-by: Santhosh Manohar <santhosh@docker.com>
Santhosh Manohar 8 years ago
parent
commit
102f9d230d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libnetwork/networkdb/cluster.go

+ 1 - 1
libnetwork/networkdb/cluster.go

@@ -17,7 +17,7 @@ import (
 )
 )
 
 
 const (
 const (
-	reapInterval     = 60 * time.Second
+	reapInterval     = 30 * time.Minute
 	reapPeriod       = 5 * time.Second
 	reapPeriod       = 5 * time.Second
 	retryInterval    = 1 * time.Second
 	retryInterval    = 1 * time.Second
 	nodeReapInterval = 24 * time.Hour
 	nodeReapInterval = 24 * time.Hour