From 2d6b66221fa3a98812107795b7f3eb6dbbb094f0 Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 10 Aug 2025 08:13:13 +0300 Subject: [PATCH] increase default timeouts --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index 8f1cab6..4915862 100644 --- a/src/config.rs +++ b/src/config.rs @@ -106,7 +106,7 @@ pub struct Config { pub index_capacity: usize, /// Max time to handle each torrent - #[arg(long, default_value_t = 10)] + #[arg(long, default_value_t = 60)] pub add_torrent_timeout: u64, /// Crawl loop delay in seconds @@ -123,6 +123,6 @@ pub struct Config { /// Skip long-thinking connections, /// try to handle the other hashes in this queue after `n` seconds - #[arg(long, default_value_t = 10)] + #[arg(long, default_value_t = 60)] pub wait_until_completed: u64, }