We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf94c5 commit 4d2ed64Copy full SHA for 4d2ed64
config/mongoid.yml
@@ -1,23 +1,31 @@
1
development:
2
- sessions:
3
- default:
4
- database: badgify_development
5
- hosts:
6
- - localhost
+ sessions:
+ default:
+ database: badgify_development
+ hosts:
+ - localhost
7
8
test:
9
sessions:
10
11
- database: badgify_test
12
13
+ database: badgify_test
14
15
staging:
16
17
18
- uri: <%= ENV['MONGOLAB_URI'] %>
+ uri: <%= ENV['MONGOLAB_URI'] %>
19
20
production:
21
22
23
24
+ options:
25
+ consistency: :strong
26
+ max_retries: 30
27
+ retry_interval: 1
28
+ timeout: 15
29
+
30
31
0 commit comments