Commit e345e9f5 authored by shiyu's avatar shiyu

定时任务测试

parent 3c3f8e69
...@@ -86,7 +86,8 @@ public class SpecialPerformanceNoticeJob { ...@@ -86,7 +86,8 @@ public class SpecialPerformanceNoticeJob {
/** /**
* 隔10分钟运行一次 * 隔10分钟运行一次
*/ */
@Scheduled(fixedDelay = 1000 * 60 * 10) // @Scheduled(fixedDelay = 1000 * 60 * 10)
@Scheduled(fixedDelay = 1000 * 60)
public void execute() { public void execute() {
RLock lock = redissonClient.getLock(SPECIAL_PERFORMANCE_SEND_MSG_KEY); RLock lock = redissonClient.getLock(SPECIAL_PERFORMANCE_SEND_MSG_KEY);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment