From 1a9b46fbb52aba36540a67cc3b7a8bb8ba5b0f80 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 7 Apr 2026 12:25:30 +0300 Subject: [PATCH] debug active limits --- src/main.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 590fc42..641f521 100644 --- a/src/main.rs +++ b/src/main.rs @@ -42,7 +42,11 @@ async fn main() { match rp.query().channel_videos(&channel.id).await { Ok(result) => { let items = result.content.items; - debug!("received {:?} items to handle...", items.len()); + debug!( + "received {:?} items to handle, limit: {:?}...", + items.len(), + channel.items_limit + ); for (i, item) in items.into_iter().enumerate() { if channel.items_limit.is_some_and(|l| i > l) { debug!("items limit for channel `{c}` reached at {i}; break.");