mirror of
https://github.com/exchanges-lab/tradesync.git
synced 2026-08-06 13:44:44 +08:00
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:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user