define fixed bytes count for info-hash v1 type

This commit is contained in:
yggverse 2025-07-08 16:05:16 +03:00
parent dcbb4108fd
commit f872e81cff
3 changed files with 12 additions and 11 deletions

View file

@ -88,7 +88,7 @@ async fn main() -> Result<()> {
debug.info(&format!("Index source `{source}`..."));
// grab latest info-hashes from this source
// * aquatic server may update the stats at this moment, handle result manually
for i in match api::get(source) {
for i in match api::get(source, config.index_capacity) {
Some(i) => i,
None => {
// skip without panic