Procházet zdrojové kódy

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

Fix #8430
master
Eugen Rochko před 5 roky
committed by GitHub
rodič
revize
55c856c522
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. +1
    -1
      app/services/notify_service.rb

+ 1
- 1
app/services/notify_service.rb Zobrazit soubor

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


Načítá se…
Zrušit
Uložit