prevent unexpected memory usage by filter values from unknown source

This commit is contained in:
yggverse 2025-07-07 03:14:56 +03:00
parent 203c3041d2
commit 57b246a879
3 changed files with 42 additions and 13 deletions

View file

@ -198,7 +198,7 @@ async fn main() -> Result<()> {
for (k, v) in index.list() {
rss.push(
k,
v.name.as_ref().unwrap_or(k),
v.name().unwrap_or(k),
None, // @TODO
Some(&v.time.to_rfc2822()),
)?