Commit 591e094e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add a delay for sending emails

parent d53befb0
......@@ -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
#
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment