Commit 6dc10e56 by Li Feifei

test

parent 95d28a55
Pipeline #14612 passed with stages
in 59 seconds
...@@ -511,10 +511,11 @@ func pdfThumbnail(objectPath string, file *zip.File, bucket *oss.Bucket) error { ...@@ -511,10 +511,11 @@ func pdfThumbnail(objectPath string, file *zip.File, bucket *oss.Bucket) error {
return err return err
} }
defer buf.Reset()
defer debug.FreeOSMemory()
r := bytes.NewReader(buf.Bytes())
r := bytes.NewReader(buf.Bytes())
buf.Reset()
debug.FreeOSMemory()
objectPathName := objectPath + "images/" objectPathName := objectPath + "images/"
var filenameOnly string var filenameOnly string
......
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