Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding connection and pool settings with custom defaults #42

Open
raffian opened this issue Oct 1, 2014 · 0 comments
Open

Overriding connection and pool settings with custom defaults #42

raffian opened this issue Oct 1, 2014 · 0 comments

Comments

@raffian
Copy link

raffian commented Oct 1, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant