Flask-RQ2
Flask-RQ2 copied to clipboard
A Flask extension for RQ.
Though `rq.worker.Worker` constructor accepts many arguments (https://github.com/rq/rq/blob/eaf598d73ce234791ee22ef82f7f095aece9f2a6/rq/worker.py#L159 ), it seems that Flask-RQ2 does not support passing arguments to worker constructor. Do you guys want to support this feature? #### Background...
Hello; it would be nice to be able to only add a job to the queue given another job with the same identifier (or arguments?) is there.
When writing unit tests it would be useful to have an option to use fakeredis instead of a real redis server. Are there any accepted methods that I am missing...
Hello, I am looking to queue some of the Python @staticmethods. For some reason, I am getting following error when using Python RQ/ Flask-RQ2. Please help. @staticmethod @rq.job def add_request(request):...
This could use the code or part of it in https://github.com/jezdez/rq2test.
How can I cancel a running job? Is it possible?
Hey, in my tests I use RQ_ASYNC = False which works fine for .queue(), but seems to do nothing for .schedule(). Thank you in advance!
I'm running RQ2 on my docker instance and when I schedule a job with cron, I get the following error: AttributeError: 'RQ' object has no attribute 'scheduler_cls' Any ideas?
This resolves #121
RQ worker now supports a [max-jobs flag](https://github.com/rq/rq/blob/153d29cce74cf1143a5f6bbe2672e7fb55b9abfe/rq/cli/cli.py#L213), which limits the number of jobs executed by the worker. It would be great to expose that through flask-rq2.