Skip to content

Commit

Permalink
Merge pull request #2100 from trade-tariff/revert-2096-HMRC-635-Inves…
Browse files Browse the repository at this point in the history
…tigate-degraded-performance-for-OTT

Revert "HMRC-635 Fix Rack Timeout timeouts to protect app"
  • Loading branch information
neilmiddleton authored Feb 5, 2025
2 parents 41f1734 + 715c1eb commit a883c94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/initializers/rack_timeout.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Rails.application.config.middleware.insert_before(
Rack::Runtime,
Rack::Timeout,
service_timeout: Integer(ENV.fetch('RACK_TIMEOUT_SERVICE', 5)),
service_timeout: Integer(ENV.fetch('RACK_TIMEOUT_SERVICE', 6)),
)

Rack::Timeout::Logger.level = ::Logger::WARN
Expand Down
6 changes: 3 additions & 3 deletions terraform/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ locals {
},
{
name = "RACK_TIMEOUT_SERVICE"
value = "5"
value = "50"
},
{
name = "RACK_TIMEOUT_SERVICE_TIMEOUT"
value = "5"
value = "50"
},
{
name = "RACK_TIMEOUT_WAIT_TIMEOUT"
value = "5"
value = "100"
},
{
name = "RUBYOPT",
Expand Down

0 comments on commit a883c94

Please sign in to comment.