fix: raise TradeSnap request timeout from 15s to 30s

The first screenshot request of each batch pays extra browser-session
cleanup time in TradeSnap (~16s total), which the 15s client timeout
misclassified as a failure while the capture actually succeeded.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
0xcathiefish
2026-07-05 08:38:04 +00:00
parent 3f7a16aa45
commit 6c73ab0d09
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ impl NotionWriter {
};
let tradesnap_url = url.trim_end_matches('/');
let http_client = reqwest::Client::builder()
.timeout(std::time::Duration::from_secs(15))
.timeout(std::time::Duration::from_secs(30))
.build()
.unwrap_or_else(|_| reqwest::Client::new());
let mut children = Vec::new();