Skip to content

Commit

Permalink
Update rack-timeout from 0.4.2 to 0.5.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickcharlton committed Sep 17, 2018
1 parent d4f119d commit ecf9886
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ GEM
rack (2.0.5)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rack-timeout (0.4.2)
rack-timeout (0.5.1)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
Expand Down
3 changes: 3 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
},
"SECRET_KEY_BASE": {
"required": true
},
"RACK_TIMEOUT": {
"value": 10
}
},
"formation": {
Expand Down
2 changes: 0 additions & 2 deletions spec/example_app/config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,3 @@
# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
end

Rack::Timeout.timeout = (ENV["RACK_TIMEOUT"] || 10).to_i

0 comments on commit ecf9886

Please sign in to comment.