mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
increase RD timeout
This commit is contained in:
@@ -71,7 +71,7 @@ async function resolveStreams(args) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function streamHandler(args) {
|
async function streamHandler(args) {
|
||||||
console.log(`Pending count: ${newLimiter.pendingCount}, active count: ${newLimiter.activeCount}`, )
|
// console.log(`Pending count: ${newLimiter.pendingCount}, active count: ${newLimiter.activeCount}`, )
|
||||||
if (args.type === Type.MOVIE) {
|
if (args.type === Type.MOVIE) {
|
||||||
return movieRecordsHandler(args);
|
return movieRecordsHandler(args);
|
||||||
} else if (args.type === Type.SERIES) {
|
} else if (args.type === Type.SERIES) {
|
||||||
|
|||||||
@@ -395,5 +395,5 @@ function infringingFile(error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getDefaultOptions(ip) {
|
async function getDefaultOptions(ip) {
|
||||||
return { ip, timeout: 10000 };
|
return { ip, timeout: 15000 };
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user