Sfoglia il codice sorgente

Merge branch 'wyp/0106-articleDeleteThread' of Server/long-article-recommend into master

wangyunpeng 6 mesi fa
parent
commit
436072d067

+ 3 - 3
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/ArticleAuditService.java

@@ -546,10 +546,10 @@ public class ArticleAuditService {
                     cdl.countDown();
                 }
             });
-            try {
-                cdl.await();
-            } catch (Exception ignore) {}
         }
+        try {
+            cdl.await();
+        } catch (Exception ignore) {}
         deleteFailAlarm(alarmList, accountTypeMap);
         return ReturnT.SUCCESS;
     }