algorand / algorand/go-algorand

Refactor txpool metrics updation

Open
#2,821 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.