Update test

Increased timeout and added delay to each request
pull/1/head
freearhey 6 years ago
parent 77806378b1
commit 2b75688ab2

@ -5,7 +5,8 @@ const axios = require('axios')
const path = require('path')
const errorLog = 'error.log'
const timeout = 10000
const timeout = 60000
const delay = 200
let tests = 0
let channels = 0
@ -38,6 +39,10 @@ async function testAllLinksIsWorking() {
for(let channel of playlist) {
await new Promise(resolve => {
setTimeout(resolve, delay)
})
channels++
try {

Loading…
Cancel
Save