Set default timeout to 120s when proxy is stealth (#1464)

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: mogery@sideguide.dev <mogery@sideguide.dev>
This commit is contained in:
devin-ai-integration[bot] 2025-04-15 23:09:11 +02:00 committed by GitHub
parent 31e24e907c
commit a840db9ef3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -352,6 +352,10 @@ const extractTransform = (obj) => {
obj = { ...obj, timeout: 300000 };
}
if (obj.proxy === "stealth" && obj.timeout === 30000) {
obj = { ...obj, timeout: 120000 };
}
if (obj.formats?.includes("json")) {
obj.formats.push("extract");
}