summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-05-19 06:12:34 +0000
committerStan Hu <stanhu@gmail.com>2016-05-19 06:12:34 +0000
commit3656b5db071d13b23803a9cbf9347da34b19fb24 (patch)
tree8d8702e5c4d8377b0088baf63b2992da9268336c /lib/tasks
parent4607323e130fe5b04e830f7a6de8083b070808f1 (diff)
parente4d9d4e55b67ab04e46ee3f72c5496f91687a205 (diff)
downloadgitlab-ce-3656b5db071d13b23803a9cbf9347da34b19fb24.tar.gz
Merge branch 'issues/15127' into 'master'
fix #15127 ActiveJob::DeserializationError thrown `send_devise_notification` pre-maturely enqueued the task when the user instance has not yet been committed into the database, causing a record-not-found in the other sidekiq process. `devise-async` has already been taking care of asynchronous mail sending, we just need to run it inside queue `mailers` instead of `mailer` to enable it. The implementation of `devise-async` enqueues the task in `after_commit` hook which is the right way to do it. See merge request !3647
Diffstat (limited to 'lib/tasks')
0 files changed, 0 insertions, 0 deletions