Skip to content

Commit

Permalink
Hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lezek123 committed Nov 22, 2024
1 parent 6256a3f commit 9fa08a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/storage-node/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class StorageNodeApi {

async uploadVideo(bagId: string, video: YtVideo, videoFilePath: string, maxAttempts = 5): Promise<void> {
let attempt = 1
while(true) {
while (attempt <= maxAttempts) {
const assetsInput: AssetUploadInput[] = [
{
dataObjectId: createType('u64', new BN(video.joystreamVideo.assetIds[0])),
Expand Down

0 comments on commit 9fa08a7

Please sign in to comment.