Increase timeout for local store client
Signed-off-by: Alessandro Boch <aboch@docker.com>
This commit is contained in:
parent
e755b439fa
commit
1685e48b03
1 changed files with 3 additions and 1 deletions
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue