hunter/worker: output more stream stats

This commit is contained in:
Astro 2023-03-09 00:56:48 +01:00
parent fea8e66d1c
commit ec368e4557
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ pub async fn run(
let post_count = stream.await;
let end_time = Instant::now();
metrics::decrement_gauge!("hunter_requests", 1.0, "type" => "stream");
tracing::warn!("Ended stream for {}", host);
tracing::warn!("Ended stream for {}. {} posts in {:?}", host, post_count, end_time - start_time);
if post_count > 0 {
if let Some(ref mut new_post_ratio) = new_post_ratio {