Skip to content

Commit

Permalink
change the default PD port (#45)
Browse files Browse the repository at this point in the history
Signed-off-by: Lonng <[email protected]>
  • Loading branch information
lonng authored Mar 9, 2020
1 parent 770dea5 commit 67211c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/playground/instance/pd.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ func NewPDInstance(dir, host string, id int) *PDInstance {
ID: id,
Dir: dir,
Host: host,
Port: utils.MustGetFreePort(host, 2379),
StatusPort: utils.MustGetFreePort(host, 2380),
Port: utils.MustGetFreePort(host, 2380),
StatusPort: utils.MustGetFreePort(host, 2379),
},
}
}
Expand Down

0 comments on commit 67211c7

Please sign in to comment.