消费改造

This commit is contained in:
zc
2026-06-05 16:43:52 +08:00
parent bee146dbc0
commit 40f360c920
2 changed files with 6 additions and 3 deletions

View File

@@ -14,6 +14,6 @@ public class CacheConstants
/**
* 设备心跳缓存过期时间
*/
public static final long OFFLINE_THRESHOLD = 10 * 1000;
public static final long OFFLINE_THRESHOLD = 2 * 1000;
}

View File

@@ -6,7 +6,10 @@ spring:
password: root
data:
redis:
host: 192.168.2.30
password: redis2025
# host: 192.168.2.30
# password: redis2025
# database: 5
# port: 6379
host: 127.0.0.1
database: 5
port: 6379