Add a delay for sending emails

This commit is contained in:
Dmitriy Zaporozhets 2013-02-01 17:04:41 +02:00
parent d53befb0d1
commit 591e094e06

View file

@ -10,6 +10,10 @@ class Notify < ActionMailer::Base
default from: Gitlab.config.gitlab.email_from
# Just send email with 3 seconds delay
def self.delay
delay_for(2.seconds)
end
#