Added indexes to scene tag and movie scene tables improve performance. Removed scene count from channel overview, too expensive.
This commit is contained in:
@@ -262,7 +262,7 @@ async function fetchLatest(entity, page, options) {
|
||||
.select('name')
|
||||
.where('priority', '>', 7)
|
||||
.orderByRaw('random()')
|
||||
.limit(faker.datatype.number({ min: 2, max: 15 }))
|
||||
.limit(faker.datatype.number({ min: 15, max: 25 }))
|
||||
.pluck('name');
|
||||
|
||||
release.actors = [...actors(release), null]; // include empty actor to ensure proper handling
|
||||
|
||||
Reference in New Issue
Block a user