diff --git a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationChargeOrderInfoTask.java b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationChargeOrderInfoTask.java index 31c2d955..9e3c7104 100644 --- a/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationChargeOrderInfoTask.java +++ b/evcs-modules/evcs-core/src/main/java/com/xhpc/evcs/notification/NotificationChargeOrderInfoTask.java @@ -46,7 +46,7 @@ public class NotificationChargeOrderInfoTask extends CoreDispatcher { Instant now = Instant.now(); for (String okey : orderKeys) { Date otime = DateUtil.orderNo2Date(okey.substring(6)); - if (Duration.between(otime.toInstant(), now).toHours() > 24 * 5) { + if (Duration.between(otime.toInstant(), now).toHours() > 24 * 3) { REDIS.deleteObject(okey); REDIS.deleteObject(okey.replace("order", "pushOrder")); logger.info("clear cache..{}", okey);