消费改造
This commit is contained in:
@@ -14,6 +14,6 @@ public class CacheConstants
|
||||
/**
|
||||
* 设备心跳缓存过期时间
|
||||
*/
|
||||
public static final long OFFLINE_THRESHOLD = 10 * 1000;
|
||||
public static final long OFFLINE_THRESHOLD = 2 * 1000;
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user