* Switch job queue to [Bull](https://github.com/OptimalBits/bull). **PeerTube will not migrate your old pending jobs in this new queue manager**
* Update nginx template (you need to [update manually](https://github.com/Chocobozzz/PeerTube/blob/develop/support/doc/production.md#nginx))
* Update default cache size configurations
+ * Update search API route: `/videos/search` becomes `/search/videos`
### Features
let actor = await ActorModel.loadByUrl(actorUrl)
// Orphan actor (not associated to an account of channel) so recreate it
- if (!actor.Account && !actor.VideoChannel) {
+ if (actor && (!actor.Account && !actor.VideoChannel)) {
await actor.destroy()
actor = null
}
actorFollow.ActorFollowing = targetActor
actorFollow.ActorFollower = fromActor
- // Send a notification to remote server
- await sendFollow(actorFollow)
+ // Send a notification to remote server if our follow is not already accepted
+ if (actorFollow.state !== 'accepted') await sendFollow(actorFollow)
})
}