silently ignore "misconfigured" slaves #145

wants to merge 1 commit into


None yet
3 participants

mrbase commented Apr 25, 2012

Silently ignoring "misconfigured" slaves allows us to to have fully configured config_dev and config_prod in scm and only change for testing.

Setting user or dsn to "" will in effect skip the slave block.


willdurand commented Apr 26, 2012

Why don't you use the config_test.yml file?

mrbase commented Apr 26, 2012

We have a team of 3 working on a project, the prod setup consists of 1 master and 4 slave databases.

In test we have ex. 2 slaves

In our dev environment we do not have the same setup, for most parts we just have one db server.

But in both dev and test, we want to be able to test the site behavior for both _dev and _prod.

But if the _prod config contains the slave databases the setup breaks.


havvg commented Jul 2, 2012

You won't notice any misconfigured slaves on your production, too, will you?

mrbase commented Jul 2, 2012

ah, no - we have resolved our issues, just forgot to close the pull request ... have now :)

mrbase closed this Jul 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment