Преглед на файлове

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

Fix #8430
master
Eugen Rochko преди 5 години
committed by GitHub
родител
ревизия
55c856c522
No known key found for this signature in database 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?


Зареждане…
Отказ
Запис