~cytrogen/masto-fe

02c6bad3ca7b59a8be6403fbbddd7d46346532dc — Claire 3 years ago f8bb4d0
Change unintended SMTP read timeout from 5 seconds to 20 seconds (#23750)

1 files changed, 1 insertions(+), 0 deletions(-)

M config/environments/production.rb
M config/environments/production.rb => config/environments/production.rb +1 -0
@@ 128,6 128,7 @@ Rails.application.configure do
    enable_starttls_auto: enable_starttls_auto,
    tls: ENV['SMTP_TLS'].presence && ENV['SMTP_TLS'] == 'true',
    ssl: ENV['SMTP_SSL'].presence && ENV['SMTP_SSL'] == 'true',
    read_timeout: 20,
  }

  config.action_mailer.delivery_method = ENV.fetch('SMTP_DELIVERY_METHOD', 'smtp').to_sym