Skip to content

Commit 95ba35b

Browse files
committed
enable scheduling
1 parent ac9545d commit 95ba35b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/cc/etherscan/io/schedule/EtherEumSchedule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class EtherEumSchedule {
4242
@Value("${etherscan.intervalSeconds}")
4343
private int intervalSeconds = 4;
4444

45-
@Scheduled(cron="0 0/2 * * * ?")
45+
@Scheduled(cron="0 0/5 * * * ?")
4646
public void start() {
4747
for (int i = startPage; i<= totalPage; i++) {
4848
Spider.create(new EthereumContractProcessor(redisTemplate, etherContractMapper))

0 commit comments

Comments
 (0)