diff --git a/config/environments/production.rb b/config/environments/production.rb index e8091f51b3..eae2f92329 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -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 diff --git a/config/environments/staging.rb b/config/environments/staging.rb index 66c30f1bb7..a7eab58d23 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -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