KKSU
2024-05-10 de02e191f25158d1203087d036591b3052cd5acf
src/main/java/cc/mrbird/febs/job/ChainRunner.java
@@ -9,6 +9,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.stereotype.Component;
import java.math.BigInteger;
@@ -40,7 +41,7 @@
            block = (BigInteger) incrementObj;
        }
        BigInteger section = BigInteger.valueOf(50);
        BigInteger section = BigInteger.valueOf(5000);
        BigInteger subtract = newest.subtract(block);
        log.info("监听:[{} - {} - {}]", newest,block,newest.subtract(block).compareTo(section) > -1);
        while (newest.subtract(block).compareTo(section) > -1) {