randomize raft server startup

also some go fmt
This commit is contained in:
Chris Lu
2018-08-12 14:27:14 -07:00
parent eca4b928d2
commit 75d63db60d
6 changed files with 7 additions and 6 deletions

View File

@@ -7,7 +7,7 @@ import (
)
const (
NeedleIdSize = 16
NeedleIdSize = 16
NeedleIdEmpty = ""
)

View File

@@ -11,7 +11,7 @@ import (
type NeedleId uint64
const (
NeedleIdSize = 8
NeedleIdSize = 8
NeedleIdEmpty = 0
)