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

Make status port configurable via command line args #380

Merged
merged 4 commits into from
Dec 12, 2022

Conversation

xiaying-peng
Copy link
Contributor

Fixes # .

Motivation

We need to make status port configurable via command line, so we can run multiple rosetta-cli with status server enabled in same host.

Solution

Support command line args in root.go
Tested with

go run . --configuration-file config.json check:data --start-block 1 --end-block 1000 --status-port 9094

Open questions

cmd/root.go Outdated
@@ -58,6 +58,7 @@ var (
inMemoryMode bool
tableSize int64
requestUUID string
statusPort uint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the space is too much...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AH

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is github UI issue

jingweicb
jingweicb previously approved these changes Dec 12, 2022
@cb-heimdall cb-heimdall dismissed jingweicb’s stale review December 12, 2022 22:45

Approved review 1214447835 from jingweicb is now dismissed due to new commit. Re-request for approval.

jingweicb
jingweicb previously approved these changes Dec 12, 2022
shrimalmadhur
shrimalmadhur previously approved these changes Dec 12, 2022
@cb-heimdall cb-heimdall dismissed stale reviews from shrimalmadhur and jingweicb December 12, 2022 22:53

Approved review 1214454464 from shrimalmadhur is now dismissed due to new commit. Re-request for approval.

@xiaying-peng xiaying-peng merged commit e95a8c3 into master Dec 12, 2022
@xiaying-peng xiaying-peng deleted the expose-status-port branch December 12, 2022 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants