Skip to content

Commit 48d2a86

Browse files
committed
Change MongoDB config
1 parent 7f1f0aa commit 48d2a86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/mongoid.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ production:
3434
database: veye_prod
3535
hosts:
3636
- <%= ENV['DB_PORT_27017_TCP_ADDR'] ||= 'localhost' %>:<%= ENV['DB_PORT_27017_TCP_PORT'] ||= '27017' %>
37-
- <%= ENV['MONGO_RS_2_ADDR'] ||= 'localhost' %>:<%= ENV['MONGO_RS_2_PORT'] ||= '27017' %>
38-
- <%= ENV['MONGO_RS_3_ADDR'] ||= 'localhost' %>:<%= ENV['MONGO_RS_3_PORT'] ||= '27017' %>
37+
# - <%= ENV['MONGO_RS_2_ADDR'] ||= 'localhost' %>:<%= ENV['MONGO_RS_2_PORT'] ||= '27017' %>
38+
# - <%= ENV['MONGO_RS_3_ADDR'] ||= 'localhost' %>:<%= ENV['MONGO_RS_3_PORT'] ||= '27017' %>
3939
options:
4040
max_pool_size: 20
4141
options:

0 commit comments

Comments
 (0)