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

Jobs enqueued and restricted but never performed #16

Open
davidrv opened this issue Mar 6, 2017 · 2 comments
Open

Jobs enqueued and restricted but never performed #16

davidrv opened this issue Mar 6, 2017 · 2 comments

Comments

@davidrv
Copy link

davidrv commented Mar 6, 2017

Hi,

I've tried the gem and seems like the jobs are successfully enqueued, moved to the restriction_default queue and removed from the restriction_default when the restrictions expire.

BTW, the code inside the perform method of the job it's never executed. I've tried a simple puts hello and also to write inside the perform and undefined variable to try to force the job to fail. But seems like the code inside the perform it's never executed.

Any idea? I'm using Rails 4.2.7 and Resque 1.26

Thanks!

@xiaoboa
Copy link

xiaoboa commented Dec 12, 2017

I guess it may due to that there is no worker checking the restriction queue periodically

@flyerhzm
Copy link
Owner

@davidrv I updated resque-restiction and confirmed it's working well, please try the latest one

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