summaryrefslogtreecommitdiff
path: root/app/workers
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-11-25 18:18:44 +0200
committerValery Sizov <vsv2711@gmail.com>2015-11-25 18:18:44 +0200
commit40ff1318d29884e4d17e7e450d8a7633e5ac36a9 (patch)
tree80363a35c2bf62156678b351cbd0802021f9ba54 /app/workers
parent913b408c021d3a9e8b940f580e1e537ef6ed77fd (diff)
downloadgitlab-ce-40ff1318d29884e4d17e7e450d8a7633e5ac36a9.tar.gz
Rails update to 4.2.4
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/emails_on_push_worker.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/emails_on_push_worker.rb b/app/workers/emails_on_push_worker.rb
index 916a99bb273..c4d8595d45d 100644
--- a/app/workers/emails_on_push_worker.rb
+++ b/app/workers/emails_on_push_worker.rb
@@ -53,7 +53,7 @@ class EmailsOnPushWorker
reverse_compare: reverse_compare,
send_from_committer_email: send_from_committer_email,
disable_diffs: disable_diffs
- ).deliver
+ ).deliver_now
# These are input errors and won't be corrected even if Sidekiq retries
rescue Net::SMTPFatalError, Net::SMTPSyntaxError => e
logger.info("Failed to send e-mail for project '#{project.name_with_namespace}' to #{recipient}: #{e}")