Skip to content

Instantly share code, notes, and snippets.

@jgautsch
Created August 22, 2014 01:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgautsch/a4d193f2ba917b056b09 to your computer and use it in GitHub Desktop.
Save jgautsch/a4d193f2ba917b056b09 to your computer and use it in GitHub Desktop.
mongoid.yml for NPI MapReduce
development:
sessions:
default:
database: geocoded_providers
hosts:
- 0.0.0.0:27017
raise_not_found_error: false
options:
pool_size: 35
production:
sessions:
default:
uri: <%= ENV['MONGOHQ_URL'] %>
options:
pool_size: 35
max_retries: 5
retry_interval: 1
timeout: 15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment