评论+ds
This commit is contained in:
@@ -631,7 +631,7 @@ public class JDUtil {
|
|||||||
/**
|
/**
|
||||||
* 消毒柜部分的业务逻辑
|
* 消毒柜部分的业务逻辑
|
||||||
*/
|
*/
|
||||||
@Scheduled(fixedRate = 10000) // 每10分钟执行一次
|
@Scheduled(fixedRate = 1000) // 每10分钟执行一次
|
||||||
public void cleanUpTimeoutStates() {
|
public void cleanUpTimeoutStates() {
|
||||||
LocalDateTime now = LocalDateTime.now();
|
LocalDateTime now = LocalDateTime.now();
|
||||||
redisTemplate.keys(INTERACTION_STATE_PREFIX + "*").forEach(key -> {
|
redisTemplate.keys(INTERACTION_STATE_PREFIX + "*").forEach(key -> {
|
||||||
|
|||||||
Reference in New Issue
Block a user