Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for background jobs out of the box #2324

Open
Mexxerio opened this issue Jun 28, 2018 · 2 comments
Open

Support for background jobs out of the box #2324

Mexxerio opened this issue Jun 28, 2018 · 2 comments

Comments

@Mexxerio
Copy link

Mexxerio commented Jun 28, 2018

I like carrierwave, but the lack of good background job support is a big downside, since processing images in a background task is a very common use case. The only gem available for this is carrierwave-backgrounder, but this gem hasn't had a new release since 2015 and is not really maintained anymore.

It would be a huge plus if we could get official background job support out of the box which is being maintained properly.

I now switched over to ActiveStorage because of that

@cireficc
Copy link

I would definitely love to see this as well. Currently my application processes small files which only take a few seconds to process, but anything over 10 MB causes quite a delay. What I would like to see in this feature request:

  1. Toggle "process in background" for all files of a specific uploader class
  2. Toggle "process in background" for specific uploads meeting some criteria (i.e. file size over 10 MB, image exceeds certain dimensions, etc.) - should take a block to execute per file uploaded

This would enable people to decide whether or not they want to push processing to a background task or not depending on their use case, even at a file-specific level.

@koenpunt
Copy link

I would like this as well. I'm currently still using Carrierwave v1, because carrierwave_backgrounder doesn't support v2

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

No branches or pull requests

4 participants