Commit 33c46648 by Li Feifei

test

parent 3ff5ed86
Pipeline #14644 passed with stages
in 1 minute 2 seconds
......@@ -237,7 +237,7 @@ func Down(v *models.XyuSmallTempFiles) {
UpdateFileError("4", v.Uuid, v.RoomNum, objectName)
return
}
Pool := workpool.New(10)
Pool := workpool.New(100)
for _, file := range reader.File {
Pool.DoWait(func() error {
log.Printf("file = %s \n", file.Name)
......@@ -466,8 +466,6 @@ func pdfThumbnail(objectPath string, file *zip.File, bucket *oss.Bucket) error {
return err
}
defer fc.Close()
item := syncPool.Borrow()
defer item.Return()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment