algorand / algorand/go-algorand
Refactor txpool metrics updation
Open
external contribution
Team Carbon-11
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 537
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 18
Description
Currently, transaction pool metrics are being updated once every 10 seconds in a separate go routine. It would be better to update the metrics as and when the transaction pool size changes.
Refer line 824 in `node/node.go` on the master branch.
This will provide improvements for transaction pool metrics when it comes to querying time.
Contributor guide
Assessment
This issue has not been assessed yet.