diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-11-11 18:59:50 +0300 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-11-14 14:22:22 +0300 |
commit | c10f61802be9d9059b64386cca6bfc3b07beb0b1 (patch) | |
tree | 755841d394012d1d9299134fb1df9224c58b2736 | |
parent | f9814bf28831aeef746cfdc35431c8de45ff7677 (diff) |
Run 'GC.start' after every EmailsOnPushWorker job
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/workers/emails_on_push_worker.rb | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG index ff41575bcc6..32703569a69 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,7 @@ v 7.5.0 - API: Add support for Hipchat (Kevin Houdebert) - Add time zone configuration on gitlab.yml (Sullivan Senechal) - Fix LDAP authentication for Git HTTP access + - Run 'GC.start' after every EmailsOnPushWorker job - Fix LDAP config lookup for provider 'ldap' - Add Atlassian Bamboo CI service (Drew Blessing) - Mentioned @user will receive email even if he is not participating in issue or commit diff --git a/app/workers/emails_on_push_worker.rb b/app/workers/emails_on_push_worker.rb index 2947c8e3ecd..e3f6f3a6aef 100644 --- a/app/workers/emails_on_push_worker.rb +++ b/app/workers/emails_on_push_worker.rb @@ -21,5 +21,8 @@ class EmailsOnPushWorker recipients.split(" ").each do |recipient| Notify.repository_push_email(project_id, recipient, author_id, branch, compare).deliver end + ensure + compare = nil + GC.start end end |