Don't retry failed transaction for refresh

It's just a refresh and could lead to some issues in our tests. If there
is a transaction conflict, it means that the same video is already
beeing updated so aborting should be fine
pull/3949/head
Chocobozzz 2021-04-09 16:29:38 +02:00
parent 21c917b38b
commit 78ec174cca
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -539,7 +539,7 @@ async function refreshVideoIfNeeded (options: {
account: channelActor.VideoChannel.Account, account: channelActor.VideoChannel.Account,
channel: channelActor.VideoChannel channel: channelActor.VideoChannel
} }
await retryTransactionWrapper(updateVideoFromAP, updateOptions) await updateVideoFromAP(updateOptions)
await syncVideoExternalAttributes(video, videoObject, options.syncParam) await syncVideoExternalAttributes(video, videoObject, options.syncParam)
ActorFollowScoreCache.Instance.addGoodServerId(video.VideoChannel.Actor.serverId) ActorFollowScoreCache.Instance.addGoodServerId(video.VideoChannel.Actor.serverId)