Skip to content

Commit

Permalink
Add TM pool size
Browse files Browse the repository at this point in the history
  • Loading branch information
badrogger committed Apr 18, 2024
1 parent f6fed7a commit 9ebda3f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transaction_manager/processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ def process_next(self) -> None:
def run(self) -> None:
while True:
try:
stcd.gauge('tm.pool.size', self.pool.size)
self.process_next()
except Exception:
logger.exception('Failed to process tx')
Expand Down

0 comments on commit 9ebda3f

Please sign in to comment.