Run 'GC.start' after every EmailsOnPushWorker job
This commit is contained in:
parent
f9814bf288
commit
c10f61802b
2 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue