mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #927 from omnivore-app/fix/content-fetch-timeout
Shorten the timeout requesting pages
This commit is contained in:
commit
620ace93d1
1 changed files with 1 additions and 1 deletions
|
|
@ -540,7 +540,7 @@ async function retrievePage(url) {
|
|||
});
|
||||
|
||||
try {
|
||||
const response = await page.goto(url, { waitUntil: ['networkidle2'] });
|
||||
const response = await page.goto(url, { timeout: 8 * 1000, waitUntil: ['networkidle2'] });
|
||||
const finalUrl = response.url();
|
||||
const contentType = response.headers()['content-type'];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue