Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 4da2f62

Browse files
committed
Make Rack::Timeout less chatty, set its log level to WARN
1 parent 1a94c48 commit 4da2f62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/initializers/timeout.rb

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
require 'logger'
12
require 'rack-timeout'
23

34
if Config.rack_timeout > 0
45
Rack::Timeout.timeout = Config.rack_timeout
6+
Rack::Timeout::Logger.level = Logger::WARN
57
end

0 commit comments

Comments
 (0)