Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
πŸ› Crawler: fix the metrics πŸ˜†
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Sep 8, 2022
1 parent 962d02b commit baf93ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crawler/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ impl CrawlerMetrics {

fn lag_days(&self) -> f64 {
if self.n_accounts != 0 {
self.total_lag.num_seconds() as f64 / 86400.0
(self.total_lag.num_seconds() as f64) / (self.n_accounts as f64) / 86400.0
} else {
0f64
}
Expand Down

0 comments on commit baf93ab

Please sign in to comment.