confgurable SMTP timeout
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user