Skip to content
Snippets Groups Projects
Commit 591e094e authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add a delay for sending emails

parent d53befb0
No related branches found
No related tags found
1 merge request!2940Expanding repos and hooks paths in settings
Loading
Loading
@@ -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
 
 
#
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment