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

ActiveJOB? #8

Closed
jnylen opened this issue Apr 22, 2016 · 6 comments
Closed

ActiveJOB? #8

jnylen opened this issue Apr 22, 2016 · 6 comments

Comments

@jnylen
Copy link

jnylen commented Apr 22, 2016

How to use in ActiveJob?

@ixti
Copy link
Owner

ixti commented Apr 25, 2016

That's a good question. Unfortunately I'm not sure how. :D
From a firsts glance I was not able to figure out how to hook into ActiveJob.
Most likely we will need to prepare some kind of a shim to enhance ActiveJob with throttler when adapter is sidekiq.

@ixti
Copy link
Owner

ixti commented Apr 25, 2016

I have a feeling that it's pretty impossible due to lots of abstractions of active job.
The only way I see how it will be possible to achieve is to extract throttler part of this gem (which I'm considering anyway) into a standalone gem and writing specialized active job extension using it.

@ixti ixti closed this as completed May 15, 2016
@Shwetakale
Copy link

@ixti I am facing issues with active job and this gem. Did you created standalone gem with active job which I can look into?

@ixti
Copy link
Owner

ixti commented Jun 17, 2020

@Shwetakale yeah, unfortunately this gem is not working good with ActiveJob and I had no bandwidth to work on extraction of throttling logic into something standalone yet. But still have it in my plans :D

@jnylen
Copy link
Author

jnylen commented Jun 17, 2020

@ixti no worries. I have moved on to Elixir and RabbitMQ (task_bunny). So don't feel free to put in a lower prio :)

@ixti
Copy link
Owner

ixti commented Jun 18, 2020

Oh, I love RabbitMQ. Sneakers (ruby) is amazing tool to use. :D

ixti pushed a commit that referenced this issue Apr 6, 2023
ixti pushed a commit that referenced this issue Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants