Change key and name

This commit is contained in:
Asim 2016-05-06 20:16:18 +01:00 committed by Vasiliy Tolstov
parent 0c6951b47e
commit 504e3f0039

View File

@ -58,12 +58,12 @@ type update struct {
var (
// You should change this if using secure
DefaultKey = []byte("micro_memory_reg")
DefaultKey = []byte("gossipKey")
ExpiryTick = time.Second * 10
)
func init() {
cmd.DefaultRegistries["memory"] = NewRegistry
cmd.DefaultRegistries["gossip"] = NewRegistry
}
func addNodes(old, neu []*registry.Node) []*registry.Node {