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

Commit d299603

Browse files
committed
Make Rack::Timeout less chatty, set its log level to WARN
1 parent ad4f309 commit d299603

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

config/initializers/timeout.rb

Lines changed: 2 additions & 0 deletions
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)