flask-rq
flask-rq copied to clipboard
RQ (Redis Queue) integration for Flask applications
There is a small typo in docs/conf.py. Should read `that` rather than `shat`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md
Hello, Senior engineer.I got a problem that I could not handle my task when I put the put the job into the queue. The code is as following: ```app.py import...
Recently, I run the flask rq-worker with the flask-sqlalchemy in order to do some model operations by async-task in the worker. While it occasionally raised the Error `ResourceClosedError: This result...
See #28. Right now, the caniusepython3 script fails on this project. ``` $ pip install caniusepython3 $ caniusepython3 -r requirements.txt You need 2 projects to transition to Python 3. Of...
Are there any plans to migrate to/support python 3?
I have noticed that flask-rq does not use context-locals to save the redis connection, which means that everytime one request comes in, we are having a new connection. What I...
Based on #26, fixes #10, related to #3 This PR should make sure we use the Flask app's `app_context` when performing a job. This allows you to access stuff like...
So I end up having to create an app context in order to do any jobs. I was wondering if it were possible to automatically include the app context. I...
This is a proposed rewrite of this module. Basically it does two important things: - All logic is now class-based with a new, cleaner (IMO) API. - The worker now...
Integrates rq-scheduler (if available) via a new function get_scheduler. Mostly useful for running periodic jobs via flask-script. Code is largely copied from django-rq