Permalink
Browse files

added max retries to mongoid.yml

  • Loading branch information...
1 parent 64bc872 commit 9c7dba1d8e00f39ed180de94952daa1db4aae0cb Randommood committed Jul 26, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 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| -%>

0 comments on commit 9c7dba1

Please sign in to comment.