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