Browse code

Increase timeout for local store client

Signed-off-by: Alessandro Boch <aboch@docker.com>

Alessandro Boch authored on 2016/11/09 11:48:48
Showing 1 changed files
... ...
@@ -6,6 +6,7 @@ import (
6 6
 	"reflect"
7 7
 	"strings"
8 8
 	"sync"
9
+	"time"
9 10
 
10 11
 	"github.com/docker/libkv"
11 12
 	"github.com/docker/libkv/store"
... ...
@@ -134,7 +135,8 @@ func makeDefaultScopes() map[string]*ScopeCfg {
134 134
 			Provider: string(store.BOLTDB),
135 135
 			Address:  defaultPrefix + "/local-kv.db",
136 136
 			Config: &store.Config{
137
-				Bucket: "libnetwork",
137
+				Bucket:            "libnetwork",
138
+				ConnectionTimeout: time.Minute,
138 139
 			},
139 140
 		},
140 141
 	}