Wiktor Wrona
Wiktor Wrona

Reputation: 1

Upload attachment asynchronously with Shrine

I want to upload big files (over 5GB). My API works as expected, but it's synchronous.

Is there a way to upload attachments asynchronously with sidekiq? I created a worker, but since I cannot pass an object to perform_async method (I tried to pass ActionDispatch::Http::UploadedFile object, but it has been cast to string) I don't know to upload a file in this worker.

Upvotes: 0

Views: 147

Answers (0)

Related Questions