Pārlūkot izejas kodu

Merge branch 'hotfix-oom-20220824' into test

dengsixing 3 gadi atpakaļ
vecāks
revīzija
11c90e4a92

+ 1 - 1
4dkankan-center-scene-download/src/main/java/com/fdkankan/download/service/impl/SceneDownloadHandlerServiceImpl.java

@@ -520,7 +520,7 @@ public class SceneDownloadHandlerServiceImpl {
 
     }
 
-    public void zipInputStream(ZipOutputStream out, String key, InputStream in) throws Exception {
+    public synchronized void zipInputStream(ZipOutputStream out, String key, InputStream in) throws Exception {
         out.putNextEntry(new org.apache.tools.zip.ZipEntry(key));
         byte[] bytes = new byte[1024];
         int b = 0;