Permalink
Browse files

God should now notify when nginx fails to respond with a non-error st…

…atus.
  • Loading branch information...
1 parent 39a0cd7 commit 41f8772e771d87149767d875dad267da65cb6db3 @pauldowman committed Oct 19, 2009
Showing with 1 addition and 0 deletions.
  1. +1 −0 server/files/etc/god/web.god
@@ -18,6 +18,7 @@ God.watch do |w|
c.code_is_not = 200
c.timeout = 5.seconds
c.times = [3, 5] # 3 out of 5 intervals
+ c.notify = {:contacts => ['default'], :category => "RAILS_ENV=#{Ec2onrails::Utils.rails_env}"}
end
end
end

0 comments on commit 41f8772

Please sign in to comment.