Explorar el Código

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

Fix #8430
master
Eugen Rochko hace 5 años
committed by GitHub
padre
commit
55c856c522
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      app/services/notify_service.rb

+ 1
- 1
app/services/notify_service.rb Ver fichero

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


Cargando…
Cancelar
Guardar