xueyiming преди 3 месеца
родител
ревизия
9d62e71a94
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/VideoDownloader.java

+ 1 - 1
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/utils/other/VideoDownloader.java

@@ -23,7 +23,7 @@ public class VideoDownloader {
 
     private static final long READ_TIMEOUT_SECONDS = 60; // 读取超时时间(秒)
 
-    private static final int MAX_RETRIES = 3;
+    private static final int MAX_RETRIES = 2;
 
     public static String downloadCover(String outVideoId, String platform, String coverUrl) {
         String path = generateCoverPath(platform, outVideoId);