redis配置
(grails-app/conf/application-redis.yml
)
grails:
redis:
poolConfig:
maxIdle: 10
doesnotexist: true
timeout: 5000
password: 123456
useSSL: false
port: 6379
host: 127.0.0.1
database: 5
在application.yml
中加入配置使其生效
spring:
profiles:
include: redis