Commit f8e883b4 by David Ormsbee

Testing out better redundancy config in case performance problems of today are related to that.

parent 4f8bd316
...@@ -12,10 +12,25 @@ test: ...@@ -12,10 +12,25 @@ test:
hosts: hosts:
- localhost:27017 - localhost:27017
#production:
# sessions:
# default:
# uri: <%= ENV['MONGOHQ_URL'] %>
production: production:
sessions: sessions:
default: default:
uri: <%= ENV['MONGOHQ_URL'] %> hosts:
- - hurley.member0.mongohq.com
- 10000
- - hurley.member1.mongohq.com
- 10000
username: <%= ENV['MONGOHQ_USER'] %>
password: <%= ENV['MONGOHQ_PASS'] %>
database: app6929933
options:
skip_version_check: true
safe: true
staging: staging:
sessions: sessions:
...@@ -25,7 +40,17 @@ staging: ...@@ -25,7 +40,17 @@ staging:
loadtest: loadtest:
sessions: sessions:
default: default:
uri: <%= ENV['MONGOHQ_URL'] %> hosts:
- - sayid.member0.mongohq.com
- 10007
- - sayid.member1.mongohq.com
- 10007
username: <%= ENV['MONGOHQ_USER'] %>
password: <%= ENV['MONGOHQ_PASS'] %>
database: app7276251
options:
skip_version_check: true
safe: true
defaults: &defaults defaults: &defaults
use_utc: false use_utc: false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment