remove: todo -> work

This commit is contained in:
手瓜一十雪 committed 2024-11-14 12:44:21 +08:00
1 parent 71a6c4ccc5
commit 756dea71fc
16 files changed
+24 -25

No files matched your search

+4 -4
View File
@@ -228,7 +228,7 @@ export class PacketHighwayContext {
});
await this.hwClient.upload(
1005,
fs.createReadStream(video.filePath!, { highWaterMark: BlockSize }),
fs.createReadStream(video.filePath, { highWaterMark: BlockSize }),
+video.fileSize!,
md5,
extend
@@ -256,7 +256,7 @@ export class PacketHighwayContext {
});
await this.hwClient.upload(
1006,
fs.createReadStream(video.thumbPath!, { highWaterMark: BlockSize }),
fs.createReadStream(video.thumbPath, { highWaterMark: BlockSize }),
+video.thumbSize!,
md5,
extend
@@ -293,7 +293,7 @@ export class PacketHighwayContext {
});
await this.hwClient.upload(
1001,
fs.createReadStream(video.filePath!, { highWaterMark: BlockSize }),
fs.createReadStream(video.filePath, { highWaterMark: BlockSize }),
+video.fileSize!,
md5,
extend
@@ -321,7 +321,7 @@ export class PacketHighwayContext {
});
await this.hwClient.upload(
1002,
fs.createReadStream(video.thumbPath!, { highWaterMark: BlockSize }),
fs.createReadStream(video.thumbPath, { highWaterMark: BlockSize }),
+video.thumbSize!,
md5,
extend