mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-07 20:15:24 +00:00
Fix 2000 ms navigation timeout
This commit is contained in:
parent
2bf4dc62da
commit
d34b43e0a8
@ -139,7 +139,7 @@ async function gotoPage(params: V1Request, page: Page): Promise<HTTPResponse> {
|
|||||||
response = await page.goto(params.url, {waitUntil: 'domcontentloaded', timeout: pageTimeout});
|
response = await page.goto(params.url, {waitUntil: 'domcontentloaded', timeout: pageTimeout});
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// retry
|
// retry
|
||||||
response = await page.goto(params.url, {waitUntil: 'domcontentloaded', timeout: 2000});
|
response = await page.goto(params.url, {waitUntil: 'domcontentloaded', timeout: pageTimeout});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.method == 'POST') {
|
if (params.method == 'POST') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user