changed timeout to 6 seconds
This commit is contained in:
Родитель
2e84f82650
Коммит
1bf422c3db
|
@ -1,6 +1,6 @@
|
||||||
require "rack-timeout"
|
require "rack-timeout"
|
||||||
use Rack::Timeout # Call as early as possible so rack-timeout runs before other middleware.
|
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'
|
require './app'
|
||||||
run Sinatra::Application
|
run Sinatra::Application
|
||||||
|
|
Загрузка…
Ссылка в новой задаче