Skip to content
Browse files

Merge pull request #22 from joakimk/master

Higher sphinx timeout to give enough time for rails to start
  • Loading branch information...
2 parents afeb7cb + 46bee49 commit 98151326cc678b28fa9e472642c0bd60f9c96fbe @damm damm committed Nov 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 cookbooks/sphinx/templates/default/sphinx.monitrc.erb
View
4 cookbooks/sphinx/templates/default/sphinx.monitrc.erb
@@ -1,5 +1,5 @@
check process sphinx_<%= @app_name %>_9312
with pidfile /var/run/sphinx/<%= @app_name %>.pid
- start program = "/engineyard/bin/<%= @flavor %>_searchd <%= @app_name %> start <%= @env %>" as uid <%= @user %> and gid <%= @user %>
- stop program = "/engineyard/bin/<%= @flavor %>_searchd <%= @app_name %> stop <%= @env %>" as uid <%= @user %> and gid <%= @user %>
+ start program = "/engineyard/bin/<%= @flavor %>_searchd <%= @app_name %> start <%= @env %>" as uid <%= @user %> and gid <%= @user %> with timeout 90 seconds
+ stop program = "/engineyard/bin/<%= @flavor %>_searchd <%= @app_name %> stop <%= @env %>" as uid <%= @user %> and gid <%= @user %> with timeout 90 seconds
group sphinx_<%= @app_name %>

0 comments on commit 9815132

Please sign in to comment.
Something went wrong with that request. Please try again.