Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Disable RTM flag push #91

Merged
merged 1 commit into from
Oct 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading