Commit 17c4c7fd by Toby Lawrence Committed by GitHub

Merge pull request #187 from mitodl/blarghmatey/mongoid_settings_update

Updated the Mongoid configuration options
parents e75d4884 1077607d
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 %>
......
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