mirror of
https://github.com/YGGverse/aquatic-crawler.git
synced 2026-03-31 17:15:35 +00:00
define fixed bytes count for info-hash v1 type
This commit is contained in:
parent
dcbb4108fd
commit
f872e81cff
3 changed files with 12 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue