Rails + Griddler + Sidekiq as processor

137 Views Asked by At

Is that possible to use Sidekiq to perform as Griddler Processor ? Currently Griddler return a Griddler Object that I can't send to Sidekiq, and I need it to upload attachments to S3 Bucket.

Do you have any way to use Griddler with Sidekiq ?

Thanks

1

There are 1 best solutions below

2
Mike Perham On BEST ANSWER

You can convert the griddler object to a hash and send that to Sidekiq. Make sure Sidekiq and Rails are running on the same machine so Sidekiq can access the attachment path on the filesystem.