소스 검색

Reduce time to wait on connection failure

pull/3/head
tech234a 3 년 전
부모
커밋
429d02a89e
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      worker.py

+ 4
- 4
worker.py 파일 보기

@@ -27,8 +27,8 @@ class batchthread(threading.Thread):
break
except BaseException as e:
print(e)
print("Error in retrieving information, waiting 10 minutes")
sleep(600)
print("Error in retrieving information, waiting 30 seconds")
sleep(30)

# Add any discovered videos
recvids.update(info[2])
@@ -52,8 +52,8 @@ class batchthread(threading.Thread):
if gsres:
break
else:
print("Error in retrieving subtitles, waiting 10 minutes")
sleep(600)
print("Error in retrieving subtitles, waiting 30 seconds")
sleep(30)

return True



불러오는 중...
취소
저장