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
17c4c7fd
Commit
17c4c7fd
authored
Aug 01, 2016
by
Toby Lawrence
Committed by
GitHub
Aug 01, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #187 from mitodl/blarghmatey/mongoid_settings_update
Updated the Mongoid configuration options
parents
e75d4884
1077607d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
config/mongoid.yml
+2
-2
No files found.
config/mongoid.yml
View file @
17c4c7fd
common
:
&default_client
options
:
write
:
w
:
1
w
:
<%= ENV['MONGOID_WRITE_MODE'] || 1 %>
read
:
mode
:
:
primary
mode
:
:
<%= ENV['MONGOID_READ_MODE'] || 'primary' %>
max_retries
:
<%= ENV['MONGOID_MAX_RETRIES'] || 1 %>
retry_interval
:
<%= ENV['MONGOID_RETRY_INTERVAL'] || 0 %>
timeout
:
<%= ENV['MONGOID_TIMEOUT'] || 0.5 %>
...
...
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