forked from DebaucheryLibrarian/traxxx
Updated dependencies. Added periodic memory logger.
This commit is contained in:
@@ -217,7 +217,7 @@ function gender() {
|
||||
}
|
||||
|
||||
function actors(release) {
|
||||
const length = release.tags.some(tag => ['dp', 'dap', 'gangbang'].includes(tag))
|
||||
const length = release.tags.some((tag) => ['dp', 'dap', 'gangbang'].includes(tag))
|
||||
? Math.floor(Math.random() * 6) + 3
|
||||
: Math.floor(Math.random() * 3) + 2;
|
||||
|
||||
@@ -254,7 +254,7 @@ async function fetchLatest(entity, page, options) {
|
||||
// const poster = 'sfw/kittens/thumbs/iNEXVlX-RLs.jpeg';
|
||||
|
||||
release.poster = `http://${config.web.host}:${config.web.port}/img/${poster}?id=${nanoid()}`; // ensure source is unique
|
||||
release.photos = photos.map(photo => `http://${config.web.host}:${config.web.port}/img/${photo}?id=${nanoid()}`);
|
||||
release.photos = photos.map((photo) => `http://${config.web.host}:${config.web.port}/img/${photo}?id=${nanoid()}`);
|
||||
}
|
||||
|
||||
release.tags = await knex('tags')
|
||||
|
||||
Reference in New Issue
Block a user