Skip to content

Commit

Permalink
Disable RTM flag push (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosa11aei authored Oct 6, 2024
1 parent 4be03e2 commit 1596eea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions samples/runner/flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var customPortForAkitaRTM = flag.Int("akitartm-port", 0,
`Custom port to host AkitaRTM. A 4-digit or 5-digit port number is required. If
this number is not given or a invalid number is given number, a random port
will be used.`)
var disableAkitaRTM = flag.Bool("disable-rtm", false, "Disable the AkitaRTM monitoring portal")

var analyszerNameFlag = flag.String("analyzer-name", "",
"The name of the analyzer to use.")
Expand Down
4 changes: 3 additions & 1 deletion samples/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ func (r *Runner) buildTimingPlatform() {

r.platform = b.Build()

r.monitor.StartServer()
if !*disableAkitaRTM {
r.monitor.StartServer()
}
}

func (*Runner) setAnalyszer(
Expand Down

0 comments on commit 1596eea

Please sign in to comment.