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

Added an option to show or not show sector info for lotus-miner info #4003

Merged
merged 1 commit into from
Sep 29, 2020

Conversation

jennijuju
Copy link
Member

fixes #3913 (more on surface level)

Should consider implementing #4002 to fix it from root.

Comment on lines 38 to 39
Name: "show-sectors-info",
Usage: "show sectors info",
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd make this flag inverted, so the default is to show the sectors (hide-sectors)

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

cmd/lotus-storage-miner/info.go Outdated Show resolved Hide resolved
@jennijuju jennijuju force-pushed the option-to-hide-sectors branch 2 times, most recently from 3a81b3e to 78f5492 Compare September 28, 2020 19:34
@magik6k magik6k merged commit edf1875 into master Sep 29, 2020
@magik6k magik6k deleted the option-to-hide-sectors branch September 29, 2020 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

it's very slow to called lotus-miner info when the sectors number is over 10000.
2 participants