Commit 41083c4b authored by ZZH's avatar ZZH

change realtime data redis cache time to 120s 2024-07-23

parent 9e10deb6
......@@ -49,7 +49,7 @@ LINK_CONT_EXP_TIME = 5 * 60
VOLTAGE_STANDARD = 220 # 系统额定电压
FREQ_STANDARD = 50 # 系统额定频率
REAL_EXP_TIME = 4 * 3600 # 实时数据,timestamp在4小时内判断
REAL_EXP_TIME = 120 # 实时数据,timestamp在4小时内判断
PTTL_REAL_EXP_TIME = 120 # 负荷实时数据,timestamp在2分钟内判断
# 电量电费index
......
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