Browse Source

Bumps protocol version to 3 to get serf version 5.

pull/996/head
James Phillips 10 years ago
parent
commit
feb7f65703
  1. 1
      consul/config.go
  2. 2
      consul/server.go

1
consul/config.go

@ -32,6 +32,7 @@ func init() {
protocolVersionMap = map[uint8]uint8{
1: 4,
2: 4,
3: 5,
}
}

2
consul/server.go

@ -27,7 +27,7 @@ import (
// protocol versions.
const (
ProtocolVersionMin uint8 = 1
ProtocolVersionMax = 2
ProtocolVersionMax = 3
)
const (

Loading…
Cancel
Save