Increase timeout for local store client

Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
Alessandro Boch 2016-11-08 18:48:48 -08:00
parent e755b439fa
commit 1685e48b03

View file

@ -6,6 +6,7 @@ import (
"reflect" "reflect"
"strings" "strings"
"sync" "sync"
"time"
"github.com/docker/libkv" "github.com/docker/libkv"
"github.com/docker/libkv/store" "github.com/docker/libkv/store"
@ -134,7 +135,8 @@ func makeDefaultScopes() map[string]*ScopeCfg {
Provider: string(store.BOLTDB), Provider: string(store.BOLTDB),
Address: defaultPrefix + "/local-kv.db", Address: defaultPrefix + "/local-kv.db",
Config: &store.Config{ Config: &store.Config{
Bucket: "libnetwork", Bucket: "libnetwork",
ConnectionTimeout: time.Minute,
}, },
}, },
} }