123
This commit is contained in:
@@ -15,7 +15,7 @@ public class HomeRecommendJob {
|
|||||||
|
|
||||||
|
|
||||||
// 每6分钟执行一次
|
// 每6分钟执行一次
|
||||||
@Scheduled(cron = "0 0/6 * * * ?")
|
@Scheduled(cron = "0 0/3 * * * ?")
|
||||||
public void clearRun() {
|
public void clearRun() {
|
||||||
try {
|
try {
|
||||||
homeManager.refreshHomeActiveCache();
|
homeManager.refreshHomeActiveCache();
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ public class IncomeStatisticsJob {
|
|||||||
private DayIncomeStatisticsService dayIncomeStatisticsService;
|
private DayIncomeStatisticsService dayIncomeStatisticsService;
|
||||||
|
|
||||||
// 每6分钟执行一次
|
// 每6分钟执行一次
|
||||||
@Scheduled(cron = "0 0/3 * * * ?")
|
@Scheduled(cron = "0 0/6 * * * ?")
|
||||||
public void persistentDb() {
|
public void persistentDb() {
|
||||||
try {
|
try {
|
||||||
dayIncomeStatisticsService.refreshByDate(LocalDate.now());
|
dayIncomeStatisticsService.refreshByDate(LocalDate.now());
|
||||||
|
|||||||
Reference in New Issue
Block a user