Skip to content

Commit

Permalink
fix all time ibc status schedular
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTFM committed Aug 6, 2024
1 parent 34ef3d6 commit 36386ac
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ public class GetDataScheduler implements SchedulingConfigurer {
@Value("${commands.update_blockchain_stats_from_ibc.sync-time}")
private String updateBlockchainStatsSyncTime;

@Value("${commands.update_all_time_ibc_stats.sync-time}")
private String updateAllTimeIbcStats;

public GetDataScheduler(Processor processor) {
this.processor = processor;
}
Expand Down Expand Up @@ -70,7 +73,7 @@ public void updateAlltimeIbcStatsScheduler(ScheduledTaskRegistrar taskRegistrar)
() -> {
processor.updateAlltimeIbcStats();
},
Long.parseLong(updateFlatTablesSyncTime)
Long.parseLong(updateAllTimeIbcStats)
);
}
}

0 comments on commit 36386ac

Please sign in to comment.