confgurable SMTP timeout

This commit is contained in:
Pete Matsyburka committed 2024-08-19 19:51:24 +03:00
1 parent cd9c3ee3c1
commit a091d121d9
1 file changed
+2 -2
+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