about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-08-26 19:12:07 +0200
committerGitHub <noreply@github.com>2018-08-26 19:12:07 +0200
commitaf934b90710a2ce1099d3ceda5de7bcf0e94595c (patch)
tree71e25690e6300d0235d515ccd0241d082c8d1abe /app/services
parent2903f8f36b7c41b77de4ad6c8c5b0a6c0b2a7ace (diff)
parentbe20eb4b2f4e55c472263a98a2c07b4e805d9bd5 (diff)
Merge pull request #674 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/services')
-rw-r--r--app/services/notify_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/notify_service.rb b/app/services/notify_service.rb
index 6490d2735..7d0dcc7ad 100644
--- a/app/services/notify_service.rb
+++ b/app/services/notify_service.rb
@@ -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?