Commit 04dea2d4 by Christopher Lee

Merge pull request #146 from edx/clee/change_timeout

changed timeout to 6 seconds
parents 32d6693d c95976f0
require "rack-timeout"
use Rack::Timeout # Call as early as possible so rack-timeout runs before other middleware.
Rack::Timeout.timeout = 20
Rack::Timeout.timeout = 6
require './app'
run Sinatra::Application
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment