Compare commits

..

No commits in common. "35245ca03fc3c8eff9a7f1019dab76cddde93719" and "433498eaeda79a3a1c83f6d5546c80abe396e728" have entirely different histories.

3 changed files with 5 additions and 6 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.227.8",
"version": "1.227.7",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.227.8",
"version": "1.227.7",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.227.8",
"version": "1.227.7",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -24,7 +24,7 @@ const bulkInsert = require('./utils/bulk-insert');
const chunk = require('./utils/chunk');
const { get } = require('./utils/qu');
// const pipeline = util.promisify(stream.pipeline);
const pipeline = util.promisify(stream.pipeline);
const streamQueue = taskQueue();
const endpoint = new AWS.Endpoint('s3.eu-central-1.wasabisys.com');
@ -629,8 +629,7 @@ streamQueue.define('fetchStreamSource', async ({ source, tempFileTarget, hashStr
.on('error', (error) => logger.error(`Failed to fetch stream from ${source.stream}: ${error.message}`))
.pipe();
// await pipeline(video, hashStream, tempFileTarget);
await stream.promises.pipeline(video, hashStream, tempFileTarget);
await pipeline(video, hashStream, tempFileTarget);
logger.verbose(`Finished fetching stream from ${source.stream}`);