mirror of https://github.com/Chocobozzz/PeerTube
Merge branch 'release/4.3.0' into develop
commit
49aa917509
|
@ -1,6 +1,6 @@
|
|||
<h1>
|
||||
<my-global-icon iconName="following" aria-hidden="true"></my-global-icon>
|
||||
<ng-container i18n>Your instance subscriptions</ng-container>
|
||||
<ng-container i18n>Subscriptions of your instance</ng-container>
|
||||
</h1>
|
||||
|
||||
<p-table
|
||||
|
|
|
@ -82,7 +82,10 @@ async function moveToExternalStorageState (options: {
|
|||
if (pendingTranscode !== 0) return false
|
||||
|
||||
const previousVideoState = video.state
|
||||
await video.setNewState(VideoState.TO_MOVE_TO_EXTERNAL_STORAGE, isNewVideo, transaction)
|
||||
|
||||
if (video.state !== VideoState.TO_MOVE_TO_EXTERNAL_STORAGE) {
|
||||
await video.setNewState(VideoState.TO_MOVE_TO_EXTERNAL_STORAGE, isNewVideo, transaction)
|
||||
}
|
||||
|
||||
logger.info('Creating external storage move job for video %s.', video.uuid, { tags: [ video.uuid ] })
|
||||
|
||||
|
|
Loading…
Reference in New Issue