algorand / algorand/go-algorand

Refactor txpool metrics updation

Đang mở
#2,821 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
external contribution Team Carbon-11
Ngôn ngữ chính
Go
Star
1.4k
Fork
537
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
17

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.