拼多多地址
This commit is contained in:
@@ -706,7 +706,7 @@ public class JDUtil {
|
||||
/**
|
||||
* 消毒柜部分的业务逻辑
|
||||
*/
|
||||
@Scheduled(fixedRate = 60000) // 每分钟执行一次
|
||||
@Scheduled(fixedRate = 600000) // 每10分钟执行一次
|
||||
public void cleanUpTimeoutStates() {
|
||||
LocalDateTime now = LocalDateTime.now();
|
||||
redisTemplate.keys(INTERACTION_STATE_PREFIX + "*").forEach(key -> {
|
||||
@@ -918,7 +918,7 @@ public class JDUtil {
|
||||
// 6. 进入确认礼金步骤
|
||||
state.setCurrentField("confirm");
|
||||
try {
|
||||
Thread.sleep(5000);
|
||||
Thread.sleep(10000);
|
||||
} catch (InterruptedException ignored) {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user