mirror of
https://github.com/status-im/consul.git
synced 2025-02-16 15:47:21 +00:00
Merge pull request #996 from hashicorp/f-tcp-pings
Bumps protocol version to 3 to get serf version 5.
This commit is contained in:
commit
5c0dac6c49
@ -32,6 +32,7 @@ func init() {
|
|||||||
protocolVersionMap = map[uint8]uint8{
|
protocolVersionMap = map[uint8]uint8{
|
||||||
1: 4,
|
1: 4,
|
||||||
2: 4,
|
2: 4,
|
||||||
|
3: 5,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ import (
|
|||||||
// protocol versions.
|
// protocol versions.
|
||||||
const (
|
const (
|
||||||
ProtocolVersionMin uint8 = 1
|
ProtocolVersionMin uint8 = 1
|
||||||
ProtocolVersionMax = 2
|
ProtocolVersionMax = 3
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user