mirror of
https://github.com/LBRYFoundation/Watch-on-LBRY.git
synced 2025-08-23 17:47:26 +00:00
🍙 made url resovler timeout longer
This commit is contained in:
parent
6af354de0c
commit
a95b46bf0c
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ export async function resolveById(params: Paramaters, progressCallback?: (progre
|
|||
|
||||
const controller = new AbortController()
|
||||
// 5 second timeout:
|
||||
const timeoutId = setTimeout(() => controller.abort(), 5000)
|
||||
const timeoutId = setTimeout(() => controller.abort(), 15000)
|
||||
const apiResponse = await fetch(url.toString(), { cache: 'no-store', signal: controller.signal })
|
||||
clearTimeout(timeoutId)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue