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

unable to set another hostname for production #6

Closed
chrislovecnm opened this issue Apr 9, 2012 · 1 comment
Closed

unable to set another hostname for production #6

chrislovecnm opened this issue Apr 9, 2012 · 1 comment

Comments

@chrislovecnm
Copy link

I have the following Config.groovy

development {
    redis {
        poolConfig {
            // jedis pool specific tweaks here, see jedis docs & src
            // ex: testWhileIdle = true
        }
        port = 6379
        host = "goldgriff"
        timeout = 2000 //default in milliseconds
        //password = "somepassword" //defaults to no password
    }
    grails.logging.jul.usebridge = true
}
production {
    redis {
        poolConfig {
            // jedis pool specific tweaks here, see jedis docs & src
            // ex: testWhileIdle = true
        }
        port = 6379
        host = "www"
        timeout = 2000 //default in milliseconds
        //password = "somepassword" //defaults to no password
    }
    grails.logging.jul.usebridge = false
    // TODO: grails.serverURL = "http:https://www.changeme.com"
}

When I do a bind = redis.configGet("bind") in production I can see that I am talking to localhost not www ...

Grails 2.0.1
Java 7

https://github.com/chrislovecnm/redis-test is an example app

@chrislovecnm
Copy link
Author

Closing this because of the pull request

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

Successfully merging a pull request may close this issue.

1 participant