grails-redis
grails-redis copied to clipboard
Overriding connection and pool settings with custom defaults
Is there any easy way to override connection/pool settings using something like this?
grails.redis.defaults = {
timeout 5000
maxTotal = 10
pool.defaults = {
testWhileIdle true
}
}
We plan to package this plugin in a reusable service; users are required to provide a redis host name only; the remaining configuration is all custom defaulted based on our environment, and our defaults differ from the plugin's defaults.