Skip to content

Commit

Permalink
rename nperf->hperf ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
harshavardhana committed Jul 27, 2023
1 parent 8480a97 commit d7707e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ import (
var port = func() string {
p := os.Getenv("NPERF_PORT")
if p == "" {
p = "9999"
p = os.Getenv("HPERF_PORT")
if p == "" {
p = "9999"
}
}
return p
}()
Expand Down

0 comments on commit d7707e8

Please sign in to comment.