mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Speed up populate database script
This commit is contained in:
parent
68037af892
commit
7279b45581
2 changed files with 20 additions and 11 deletions
|
@ -67,8 +67,6 @@ async function rateVideo (req: express.Request, res: express.Response) {
|
|||
dislikes: dislikesToIncrement
|
||||
}
|
||||
|
||||
// Even if we do not own the video we increment the attributes
|
||||
// It is useful for the user to have a feedback
|
||||
await videoInstance.increment(incrementQuery, sequelizeOptions)
|
||||
|
||||
await sendVideoRateChange(accountInstance, videoInstance, likesToIncrement, dislikesToIncrement, t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue