about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-08-26 18:21:33 +0200
committerThibaut Girka <thib@sitedethib.com>2018-08-26 18:21:33 +0200
commitbe20eb4b2f4e55c472263a98a2c07b4e805d9bd5 (patch)
tree71e25690e6300d0235d515ccd0241d082c8d1abe /app/services
parent5eb3b8522e6f4ba7e5cc1f5ffa5dc51f9ac09290 (diff)
parenta791bac153cf979adeaf3024d65917dbd699b5d9 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
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?