ソースを参照

Delay e-mail notifications by 2 minutes (#8438)

Fix #8430
master
Eugen Rochko 5年前
committed by GitHub
コミット
55c856c522
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      app/services/notify_service.rb

+ 1
- 1
app/services/notify_service.rb ファイルの表示

@@ -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?


読み込み中…
キャンセル
保存