This repository was archived by the owner on Oct 5, 2018. It is now read-only.
This repository was archived by the owner on Oct 5, 2018. It is now read-only.
Getting a callback when processing is done #176
Open
Description
I am running a video processing engine with Paperclip and Delayed_paperclip gems.
Everything works fine, but I need to trigger some things when processing is done (sending emails, copy some files somewhere else, etc). Problem is that I do not know when is ready.
I know that there is a column in DB media_processing that gets updated when the processing is done, but to use that, I have to use another table and store there any video when processing is starting, then to keep pooling the db to see which one got processing status changed.
I tried after_processing in paperclip, after_update in video model, nothing works.
My question is: How to set a callback to execute some code when processing is done.
Metadata
Metadata
Assignees
Labels
No labels
Activity