Delay e-mail notifications by 2 minutes (#8438)
Fix #8430remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
parent
b378b4c5c7
commit
55c856c522
|
@ -123,7 +123,7 @@ class NotifyService < BaseService
|
|||
|
||||
def send_email
|
||||
return if @notification.activity.nil?
|
||||
NotificationMailer.public_send(@notification.type, @recipient, @notification).deliver_later
|
||||
NotificationMailer.public_send(@notification.type, @recipient, @notification).deliver_later(wait: 2.minutes)
|
||||
end
|
||||
|
||||
def email_enabled?
|
||||
|
|
Loading…
Reference in New Issue