Comments (4)
Silly me... After looking at your test example I saw where I went wrong - I was starting my worker process using rq worker
instead of flask rq worker
. Using the latter solved the problem for me.
My bad for overlooking the CLI support section in the docs, but do you think adding an example of this to the Getting Started section would prevent similar confusion down the line?
from flask-rq2.
I tried your code and wasn't able to reproduce it. Are you using the latest version of flask-rq2? I changed a lot of how this works in d4d5e52.
from flask-rq2.
See https://github.com/jezdez/rq2test for a quick test as well.
from flask-rq2.
@timorthi AH, gotcha, that'd explain it. Thanks for checking :) I opened #52 to follow-up on this, a getting started guide is a great idea.
from flask-rq2.
Related Issues (20)
- Flask-RQ2 depends on setuptools but setuptools is not listed as a requirement
- Flask-RQ2 is not compatible with click 8.0.0, required for Flask 2.0 HOT 4
- Why does func.cron() not duplicate jobs but rq.get_scheduler().cron() does? HOT 1
- Provide custom job ID?
- Missing on_success and on_failure args in jobfunction.queue() HOT 5
- Support for rq version 1.8 - 1.10 HOT 1
- Add FlaskWorker
- Support rq worker --max-jobs flag
- How to run?
- New maintainer? HOT 1
- Remote workers
- Upcoming release of RQ 1.0
- Handling of `RQ_ASYNC` is confusing when using the application factory pattern
- Use @job decorator for class methods HOT 2
- Advantages over pure RQ HOT 5
- Launching flask-rq2 using supervisord HOT 2
- Redis sentinel mode connection support. HOT 1
- List running workers HOT 1
- RQ function that saves output to file saves same output even after function is modified.
- is this project still active? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flask-rq2.