aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-09-28 10:03:32 +0200
committerChocobozzz <me@florianbigard.com>2022-09-28 10:03:32 +0200
commit49aa917509568a3b96967732512b5ef4ecc50b1b (patch)
tree4d4615986cd9014759f48f0c61996b2c260aba05
parente76daa73010ff848ca55fcb3a11b04379515df29 (diff)
parent690bad52e186a0111359062743d9638b911026f2 (diff)
downloadPeerTube-49aa917509568a3b96967732512b5ef4ecc50b1b.tar.gz
PeerTube-49aa917509568a3b96967732512b5ef4ecc50b1b.tar.zst
PeerTube-49aa917509568a3b96967732512b5ef4ecc50b1b.zip
Merge branch 'release/4.3.0' into develop
-rw-r--r--client/src/app/+admin/follows/following-list/following-list.component.html2
-rw-r--r--server/lib/video-state.ts5
2 files changed, 5 insertions, 2 deletions
diff --git a/client/src/app/+admin/follows/following-list/following-list.component.html b/client/src/app/+admin/follows/following-list/following-list.component.html
index eb4f84d11..f7abb7ede 100644
--- a/client/src/app/+admin/follows/following-list/following-list.component.html
+++ b/client/src/app/+admin/follows/following-list/following-list.component.html
@@ -1,6 +1,6 @@
1<h1> 1<h1>
2 <my-global-icon iconName="following" aria-hidden="true"></my-global-icon> 2 <my-global-icon iconName="following" aria-hidden="true"></my-global-icon>
3 <ng-container i18n>Your instance subscriptions</ng-container> 3 <ng-container i18n>Subscriptions of your instance</ng-container>
4</h1> 4</h1>
5 5
6<p-table 6<p-table
diff --git a/server/lib/video-state.ts b/server/lib/video-state.ts
index 9ebbd7679..893725d85 100644
--- a/server/lib/video-state.ts
+++ b/server/lib/video-state.ts
@@ -82,7 +82,10 @@ async function moveToExternalStorageState (options: {
82 if (pendingTranscode !== 0) return false 82 if (pendingTranscode !== 0) return false
83 83
84 const previousVideoState = video.state 84 const previousVideoState = video.state
85 await video.setNewState(VideoState.TO_MOVE_TO_EXTERNAL_STORAGE, isNewVideo, transaction) 85
86 if (video.state !== VideoState.TO_MOVE_TO_EXTERNAL_STORAGE) {
87 await video.setNewState(VideoState.TO_MOVE_TO_EXTERNAL_STORAGE, isNewVideo, transaction)
88 }
86 89
87 logger.info('Creating external storage move job for video %s.', video.uuid, { tags: [ video.uuid ] }) 90 logger.info('Creating external storage move job for video %s.', video.uuid, { tags: [ video.uuid ] })
88 91