Skip to content

Commit

Permalink
Increase write timeout (#1922)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory McDonald authored May 29, 2019
1 parent 1339c0a commit 7969ece
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
url: Rails.application.secrets[:redis_url],
connect_timeout: 30, # Defaults to 20 seconds
read_timeout: 10, # Defaults to 1 second
write_timeout: 10, # Defaults to 1 second
write_timeout: 60, # Defaults to 1 second

error_handler: -> (method:, returning:, exception:) {
# Report errors to Sentry as warnings
Expand Down
2 changes: 1 addition & 1 deletion config/environments/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
url: Rails.application.secrets[:redis_url],
connect_timeout: 30, # Defaults to 20 seconds
read_timeout: 10, # Defaults to 1 second
write_timeout: 10, # Defaults to 1 second
write_timeout: 60, # Defaults to 1 second

error_handler: -> (method:, returning:, exception:) {
# Report errors to Sentry as warnings
Expand Down

0 comments on commit 7969ece

Please sign in to comment.