tujidelv %!s(int64=3) %!d(string=hai) anos
pai
achega
ab90c3d20a

+ 1 - 1
src/main/java/top/lvzhiqiang/controller/BgController.java

@@ -116,7 +116,7 @@ public class BgController {
             isDel = 2;
         }
         if (null == ignoreRetryCount) {
-            isDel = 2;
+            ignoreRetryCount = 2;
         }
 
         bgService.jsoupIcodePool(status, isDel, ignoreRetryCount);

+ 1 - 1
src/main/java/top/lvzhiqiang/service/impl/BgServiceImpl.java

@@ -513,7 +513,7 @@ public class BgServiceImpl implements BgService {
     @Async
     @Override
     public void jsoupIcodePool(Integer status, Integer isDel, Integer ignoreRetryCount) {
-        log.warn("jsoupIcodePool 开始:status={},isDel={}", status, isDel);
+        log.warn("jsoupIcodePool 开始:status={},isDel={},ignoreRetryCount={}", status, isDel, ignoreRetryCount);
         if (isDel == 1) {
             videoInfoPoolMapper.deleteAll();
         }

+ 1 - 1
src/main/resources/application-test.yml

@@ -37,7 +37,7 @@ spring:
       # 连接池名称
       pool-name: HikariCP
       # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认1800000即30分钟
-      max-lifetime: 60000
+      max-lifetime: 120000
       # 数据库连接超时时间,默认30秒,即30000
       connection-timeout: 60000
       # 生效超时