Inspecting performance.
This commit is contained in:
@@ -442,10 +442,12 @@ async function associateActors(mappedActors, releases) {
|
||||
}
|
||||
});
|
||||
|
||||
await Promise.all([
|
||||
knex('releases_actors').insert(associations.filter(association => association).flat()),
|
||||
scrapeBasicActors(),
|
||||
]);
|
||||
await knex('releases_actors').insert(associations.filter(association => association).flat());
|
||||
|
||||
// basic actor scraping is failure prone, don't together with actor association
|
||||
// await scrapebasicactors(),
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user