retry offcloud download on error

This commit is contained in:
TheBeastLT
2024-01-15 15:04:21 +02:00
parent e907953cde
commit 94ec4a7a52
2 changed files with 11 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ async function _unrestrictLink(AD, torrent, encodedFileName, fileIndex) {
}
async function getDefaultOptions(ip) {
return { base_agent: AGENT, timeout: 5000 };
return { base_agent: AGENT, timeout: 10000 };
}
export function toCommonError(error) {