Add a delay for sending emails

4-2-stable
Dmitriy Zaporozhets 2013-02-01 17:04:41 +02:00
parent d53befb0d1
commit 591e094e06
1 changed files with 4 additions and 0 deletions

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
#