Retry FIX

This commit is contained in:
killer069
2021-08-17 11:39:04 +05:30
parent b91c83c9f9
commit fbd4d2aaf9
3 changed files with 6 additions and 4 deletions

View File

@@ -83,5 +83,7 @@ export async function stream(url : string, options? : StreamOptions){
final.push(info.format[info.format.length - 1])
}
return got.stream(final[0].url)
return got.stream(final[0].url, {
retry : 5,
})
}