Update format.js

what-a-patch-1
freearhey 5 years ago
parent 54302496cf
commit 7a84c309ee

@ -95,8 +95,10 @@ async function detectResolution(playlist) {
const response = await instance
.get(channel.url, { cancelToken: source.token })
.then(() => {
.then(res => {
clearTimeout(timeout)
return res
})
.then(utils.sleep(config.delay))
.catch(err => {

Loading…
Cancel
Save