Permalink
Browse files

Shorten timeout to 15 seconds

  • Loading branch information...
1 parent 28d337f commit 8f681d173ee3621aae07c1cec1c8e4fa9f391178 @lmarburger lmarburger committed Feb 27, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 config.ru
  2. +1 −1 config/unicorn.rb
View
@@ -4,6 +4,6 @@ require 'rack/timeout'
require './lib/bundler_api/web'
use Rack::Timeout
-Rack::Timeout.timeout = 28 # seconds
+Rack::Timeout.timeout = 13 # seconds
run BundlerApi::Web.new
View
@@ -1,5 +1,5 @@
worker_processes ENV['MAX_THREADS'].to_i
-timeout 30
+timeout 15
preload_app false
before_fork do |server, worker|

0 comments on commit 8f681d1

Please sign in to comment.