|
@@ -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,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|
|
}
|