Compare commits
2 Commits
433498eaed
...
35245ca03f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35245ca03f | ||
|
|
bcc183d5b9 |
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.227.7",
|
"version": "1.227.8",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.227.7",
|
"version": "1.227.8",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "^5.2.2",
|
"@casl/ability": "^5.2.2",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "traxxx",
|
"name": "traxxx",
|
||||||
"version": "1.227.7",
|
"version": "1.227.8",
|
||||||
"description": "All the latest porn releases in one place",
|
"description": "All the latest porn releases in one place",
|
||||||
"main": "src/app.js",
|
"main": "src/app.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ const bulkInsert = require('./utils/bulk-insert');
|
|||||||
const chunk = require('./utils/chunk');
|
const chunk = require('./utils/chunk');
|
||||||
const { get } = require('./utils/qu');
|
const { get } = require('./utils/qu');
|
||||||
|
|
||||||
const pipeline = util.promisify(stream.pipeline);
|
// const pipeline = util.promisify(stream.pipeline);
|
||||||
const streamQueue = taskQueue();
|
const streamQueue = taskQueue();
|
||||||
|
|
||||||
const endpoint = new AWS.Endpoint('s3.eu-central-1.wasabisys.com');
|
const endpoint = new AWS.Endpoint('s3.eu-central-1.wasabisys.com');
|
||||||
@@ -629,7 +629,8 @@ streamQueue.define('fetchStreamSource', async ({ source, tempFileTarget, hashStr
|
|||||||
.on('error', (error) => logger.error(`Failed to fetch stream from ${source.stream}: ${error.message}`))
|
.on('error', (error) => logger.error(`Failed to fetch stream from ${source.stream}: ${error.message}`))
|
||||||
.pipe();
|
.pipe();
|
||||||
|
|
||||||
await pipeline(video, hashStream, tempFileTarget);
|
// await pipeline(video, hashStream, tempFileTarget);
|
||||||
|
await stream.promises.pipeline(video, hashStream, tempFileTarget);
|
||||||
|
|
||||||
logger.verbose(`Finished fetching stream from ${source.stream}`);
|
logger.verbose(`Finished fetching stream from ${source.stream}`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user