Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cs_comments_service
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
cs_comments_service
Commits
f8e883b4
Commit
f8e883b4
authored
Oct 14, 2012
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Testing out better redundancy config in case performance problems of today are related to that.
parent
4f8bd316
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
2 deletions
+27
-2
config/mongoid.yml
+27
-2
No files found.
config/mongoid.yml
View file @
f8e883b4
...
...
@@ -12,10 +12,25 @@ test:
hosts
:
-
localhost:27017
#production:
# sessions:
# default:
# uri: <%= ENV['MONGOHQ_URL'] %>
production
:
sessions
:
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
:
sessions
:
...
...
@@ -25,7 +40,17 @@ staging:
loadtest
:
sessions
:
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
use_utc
:
false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment