ソースを参照

Bump upload limit to 2 GB

Leszek Wiesner 4 年 前
コミット
245f217683

+ 1 - 1
cli/src/commands/media/uploadVideo.ts

@@ -25,7 +25,7 @@ import { getInputJson, validateInput, IOFlags } from '../../helpers/InputOutput'
 ffmpeg.setFfprobePath(ffprobeInstaller.path)
 
 const DATA_OBJECT_TYPE_ID = 1
-const MAX_FILE_SIZE = 500 * 1024 * 1024
+const MAX_FILE_SIZE = 2000 * 1024 * 1024
 
 type VideoMetadata = {
   width?: number

+ 1 - 1
storage-node/packages/storage/filter.js

@@ -20,7 +20,7 @@
 
 const debug = require('debug')('joystream:storage:filter')
 
-const DEFAULT_MAX_FILE_SIZE = 500 * 1024 * 1024
+const DEFAULT_MAX_FILE_SIZE = 2000 * 1024 * 1024
 const DEFAULT_ACCEPT_TYPES = ['video/*', 'audio/*', 'image/*']
 const DEFAULT_REJECT_TYPES = []