Browse Source

增加ec读、调

gitlink
zkxx 2 years ago
parent
commit
25d186e743
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      internal/services/object.go

+ 1
- 1
internal/services/object.go View File

@@ -114,7 +114,7 @@ func (svc *ObjectService) DownloadObject(userID int64, objectID int64) (io.ReadC
// TODO 需要返回Object信息
return myio.AfterReadClosed(reader, func(closer io.ReadCloser) {
// TODO 可以考虑在打开了读取流之后就解锁,而不是要等外部读取完毕
mutex.Unlock()
//mutex.Unlock()
}), nil
}



Loading…
Cancel
Save