rq / Flask-RQ2

A Flask extension for RQ.
https://flask-rq2.readthedocs.io/
MIT License
229 stars 48 forks source link

Setting RQ_ASYNC = False doesn't affect scheduling #22

Open JanChec opened 7 years ago

JanChec commented 7 years ago

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!

jezdez commented 6 years ago

Hmm, this isn't a feature that is included in rq-scheduler, so I'm not sure if this is something Flask-RQ2 should add on top. Could you elaborate what type of behavior you expect? As soon as a job is scheduled, it should be run? How would that work for jobs that are scheduled on module level with rq.schedule(...) instead of inline of a (view) function?