Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added max retries to mongoid.yml

  • Loading branch information...
commit 9c7dba1d8e00f39ed180de94952daa1db4aae0cb 1 parent 64bc872
Randommood authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  cookbooks/mongodb/templates/default/mongoid.yml.erb
View
1  cookbooks/mongodb/templates/default/mongoid.yml.erb
@@ -1,6 +1,7 @@
<%= @environment %>:
database: <%=@mongo_replsetname%>
read_secondary: true
+ max_retries_on_connection_failure: 5
<% if @replica_set -%>
hosts:
<% @hosts.each do |host, port| -%>
Please sign in to comment.
Something went wrong with that request. Please try again.