Skip to content

Commit

Permalink
Merge pull request #4950 from IsaacAnastasoff/1smallchange
Browse files Browse the repository at this point in the history
Increased memorytopo generation pool size to 1 << 60
  • Loading branch information
sougou authored Jun 25, 2019
2 parents 272660d + e71506b commit 35641ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/topo/memorytopo/memorytopo.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func (n *node) PropagateWatchError(err error) {
func NewServerAndFactory(cells ...string) (*topo.Server, *Factory) {
f := &Factory{
cells: make(map[string]*node),
generation: uint64(rand.Int63n(2 ^ 60)),
generation: uint64(rand.Int63n(1 << 60)),
}
f.cells[topo.GlobalCell] = f.newDirectory(topo.GlobalCell, nil)

Expand Down

0 comments on commit 35641ed

Please sign in to comment.