Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.

after_post_process is not triggered when process_in_background is active #172

Open
eduardm opened this issue Apr 12, 2016 · 1 comment
Open

Comments

@eduardm
Copy link

eduardm commented Apr 12, 2016

I am using paperclip gem to handle big video uploads that could take hours to finish.

Everything works fine, but after_post_process is not called when processing is done (DB column _processing is updated), but after_post_process is not called.

I need that to be able to send email when is done and pinging continuously the DB to check video_processing column is not a solution.

I also tried to monkey pathc
module DelayedPaperclip
module Jobs
class ActiveJob < ActiveJob::Base

and add after_perform callback to send emails, but is not triggered also.

How can I register to get a callback when a job is done? I am using rails 4.2 and ActiveJob with DJ backend.

@rohitpbhore
Copy link

I am facing same issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants