confgurable SMTP timeout

pull/349/head
Pete Matsyburka 1 year ago
parent cd9c3ee3c1
commit a091d121d9

@ -1,8 +1,8 @@
# frozen_string_literal: true # frozen_string_literal: true
module ActionMailerConfigsInterceptor module ActionMailerConfigsInterceptor
OPEN_TIMEOUT = 15 OPEN_TIMEOUT = ENV.fetch('SMTP_OPEN_TIMEOUT', '15').to_i
READ_TIMEOUT = 25 READ_TIMEOUT = ENV.fetch('SMTP_READ_TIMEOUT', '25').to_i
module_function module_function

Loading…
Cancel
Save