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

reduce tm stats endpoint consumption #2377

Merged

Conversation

jeremyletang
Copy link
Member

update peers count every 1 minutes
update chain id and genesis time onlye once

these were consuming ~7/8% of cpu time on the nodes just becuase of marhsalling / unmarshalling the payload of the rest request to the tendermint node in order to get these stats.

update peers count every 1 minutes

update chain id and genesis time onlye once
@jeremyletang jeremyletang requested a review from a team October 12, 2020 14:59
@EVODelavega EVODelavega merged commit 44496cb into develop Oct 12, 2020
@ashleyvega ashleyvega deleted the feature/reduce-cpu-consumtion-in-getTendermintStats branch November 5, 2020 13:36
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.

2 participants