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:
committed by
GitHub
parent
31e24e907c
commit
a840db9ef3
@@ -352,6 +352,10 @@ const extractTransform = (obj) => {
|
|||||||
obj = { ...obj, timeout: 300000 };
|
obj = { ...obj, timeout: 300000 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (obj.proxy === "stealth" && obj.timeout === 30000) {
|
||||||
|
obj = { ...obj, timeout: 120000 };
|
||||||
|
}
|
||||||
|
|
||||||
if (obj.formats?.includes("json")) {
|
if (obj.formats?.includes("json")) {
|
||||||
obj.formats.push("extract");
|
obj.formats.push("extract");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user