配置:默认指定缓存实现为JDK实现

pull/12/head
陈精华 5 years ago committed by kl
parent 506a3ba2b3
commit ae93d48b44

@ -26,7 +26,7 @@ file.dir = ${KK_FILE_DIR:default}
office.home = ${KK_OFFICE_HOME:default}
#缓存实现类型不配默认为内嵌RocksDB(type = default)实现可配置为redis(type = redis)实现需要配置spring.redisson.address等参数和 JDK 内置对象实现type = jdk,
cache.type = ${KK_CACHE_TYPE:default}
cache.type = ${KK_CACHE_TYPE:jdk}
#redis连接只有当cache.type = redis时才有用
spring.redisson.address = ${KK_SPRING_REDISSON_ADDRESS:127.0.0.1:6379}
spring.redisson.password = ${KK_SPRING_REDISSON_PASSWORD:123456}

Loading…
Cancel
Save