Logging memory usage on media fetch.
This commit is contained in:
@@ -249,7 +249,8 @@ async function fetchLatest(entity, page, options) {
|
||||
.where('is_sfw', true)
|
||||
.pluck('path')
|
||||
.orderByRaw('random()')
|
||||
.limit(Math.floor(Math.random() * 10) + 1);
|
||||
// .limit(Math.floor(Math.random() * 10) + 1)
|
||||
.limit(100);
|
||||
|
||||
// const poster = 'sfw/kittens/thumbs/iNEXVlX-RLs.jpeg';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user