I've added the option to process some styles in the foreground and some in the background, by setting :only_process on both has_attached_file and process_in_background.
The actual code changes are minimal and there's a test for the additional functionality.
The use case I have in mind is handling video - you want the thumbnail created immediately, but need to delay the video conversion because it'll take a while.
I've added the option to process some styles in the foreground and some in the background, by setting :only_process on both has_attached_file and process_in_background.
The actual code changes are minimal and there's a test for the additional functionality.
The use case I have in mind is handling video - you want the thumbnail created immediately, but need to delay the video conversion because it'll take a while.