Sha256: 59da6b31b0212c070cfe921c4cbd4b4b89f71598b66b5318a5ceac2cf6161696
Contents?: true
Size: 1.15 KB
Versions: 3
Compression:
Stored size: 1.15 KB
Contents
#mongoid v3.~ production: sessions: default: # URI allows for easy replica-set connection setup. # Use environment variables or a config file to keep your credentials safe. database: name username: user password: password hosts: - localhost:27017 options: # Default consistency is :eventual, which reads from secondary first. Strong forces reads to primary. # You should use strong consistency if you need the freshest data available. consistency: :strong # max_retries specifies the number of times your driver will attempt an operation before giving up. max_retries: 30 # retry_interval specifies the number of seconds to wait before retrying a single operation. retry_interval: 1 # timeout is the time in seconds for the driver to wait for an operation. # A value of 30 allows for plenty of time for DNS slowness/network blips. # Note that if you have a long-running query (over 30 seconds), it will timeout. # Use Queryable#no_timeout for long queries: http://mongoid.org/en/origin/docs/options.html. timeout: 1
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
serialbar-0.0.3 | lib/serialbar/generators/mongoid_example.yml |
serialbar-0.0.2 | lib/serialbar/generators/mongoid_example.yml |
serialbar-0.0.1 | lib/serialbar/generators/mongoid_example.yml |