Compare commits

..

No commits in common. "f65ed168426a2e7a135d423366188ead485b1064" and "3983d3464f904c6aea6a3593bb6467d839d4737a" have entirely different histories.

4 changed files with 4 additions and 9 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@ -14,8 +14,6 @@ async function fetchScene(url, site, baseRelease, options) {
release.channel = siteSlug;
release.director = 'Mason';
delete release.query;
return release;
}

View File

@ -11,13 +11,10 @@ async function init() {
let peak = 0;
const files = await fs.readdir('./html');
// const dom = new JSDOM('<html><body></body></html>', { runScripts: 'dangerously' });
await Promise.map(Array.from({ length: 10 }).map(() => files).flat(), async (filename) => {
const html = await fs.readFile(`./html/${filename}`, 'utf8');
const dom = new JSDOM(html);
// dom.window.document.body.innerHTML = html;
dom.window.close();
const usage = process.memoryUsage.rss() / 1000000;
@ -27,7 +24,7 @@ async function init() {
await waitImmediate;
}, {
concurrency: 1,
concurrency: 100,
});
await Promise.delay(2000);