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

rewards:show command is very resource intensive #2505

Closed
nategraf opened this issue Jan 22, 2020 · 1 comment · Fixed by #2508
Closed

rewards:show command is very resource intensive #2505

nategraf opened this issue Jan 22, 2020 · 1 comment · Fixed by #2508
Assignees
Labels

Comments

@nategraf
Copy link
Contributor

celocli rewards:show is very resource intensive, with various reports of the command tanking the node that serves it. The root cause of this is most likely that the command leans heavily on the usage of event logs which are expensive to query. This command likely needs to be reworked in order to perform better.

@nategraf nategraf added the cli label Jan 22, 2020
@mrsmkl mrsmkl self-assigned this Jan 23, 2020
@mrsmkl
Copy link
Contributor

mrsmkl commented Jan 23, 2020

Looks like fetching the affiliates took all the time, so just removing that will fix this problem. I'll check if getting the affiliates could be made faster, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants