go-algorand icon indicating copy to clipboard operation
go-algorand copied to clipboard

Refactor txpool metrics updation

Open grakshith opened this issue 3 years ago • 1 comments

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.

grakshith avatar Sep 01 '21 05:09 grakshith