confgurable SMTP timeout

This commit is contained in:
Pete Matsyburka
2024-08-13 21:28:04 +03:00
parent cd9c3ee3c1
commit a091d121d9
+2 -2
View File
@@ -1,8 +1,8 @@
# frozen_string_literal: true
module ActionMailerConfigsInterceptor
OPEN_TIMEOUT = 15
READ_TIMEOUT = 25
OPEN_TIMEOUT = ENV.fetch('SMTP_OPEN_TIMEOUT', '15').to_i
READ_TIMEOUT = ENV.fetch('SMTP_READ_TIMEOUT', '25').to_i
module_function