mirror of
https://github.com/knightcrawler-stremio/knightcrawler.git
synced 2024-12-20 03:29:51 +00:00
fix request named queue
This commit is contained in:
@@ -31,7 +31,7 @@ builder.defineStreamHandler((args) => {
|
|||||||
return Promise.resolve({ streams: [] });
|
return Promise.resolve({ streams: [] });
|
||||||
}
|
}
|
||||||
|
|
||||||
return requestQueue.wrap(args, () => resolveStreams(args))
|
return requestQueue.wrap(args.id, () => resolveStreams(args))
|
||||||
.then(streams => applyFilters(streams, args.extra))
|
.then(streams => applyFilters(streams, args.extra))
|
||||||
.then(streams => applySorting(streams, args.extra, args.type))
|
.then(streams => applySorting(streams, args.extra, args.type))
|
||||||
.then(streams => applyStaticInfo(streams))
|
.then(streams => applyStaticInfo(streams))
|
||||||
|
|||||||
Reference in New Issue
Block a user