Kaynağa Gözat

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

Fix #8430
master
Eugen Rochko 5 yıl önce
committed by GitHub
ebeveyn
işleme
55c856c522
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 4AEE18F83AFDEB23
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      app/services/notify_service.rb

+ 1
- 1
app/services/notify_service.rb Dosyayı Görüntüle

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


Yükleniyor…
İptal
Kaydet