Skip to content

Commit

Permalink
better status messages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 2, 2024
1 parent 28c9d24 commit 3dca2ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbot/scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -642,11 +642,11 @@ def modules_status(self, _log=False):
num_queued_events = self.num_queued_events
if num_queued_events:
self.info(
f"{self.name}: {num_queued_events:,} events in queue ({self.stats.speedometer.speed:,} processed since the last message)"
f"{self.name}: {num_queued_events:,} events in queue ({self.stats.speedometer.speed:,} processed in the past {self.status_frequency} seconds)"
)
else:
self.info(
f"{self.name}: No events in queue ({self.stats.speedometer.speed:,} processed since the last message)"
f"{self.name}: No events in queue ({self.stats.speedometer.speed:,} processed in the past {self.status_frequency} seconds)"
)

if self.log_level <= logging.DEBUG:
Expand Down

0 comments on commit 3dca2ff

Please sign in to comment.