rename limit option to items_limit; fix item_name_regex config example

This commit is contained in:
yggverse 2026-04-07 12:06:26 +03:00
parent 93f9bc4fee
commit f2b79b2a06
3 changed files with 4 additions and 4 deletions

View file

@ -44,7 +44,7 @@ async fn main() {
let items = result.content.items;
debug!("received {:?} items to handle...", items.len());
for (i, item) in items.into_iter().enumerate() {
if channel.limit.is_some_and(|l| i > l) {
if channel.items_limit.is_some_and(|l| i > l) {
debug!("items limit for channel `{c}` reached at {i}; break.");
break;
}