python - RedisQueue working running with a Flask Application -


i'm trying use redisqueue simple way run async job processing application.

however, when worker tries run job in flask application, barfing running outside of app context i.e. working outside of application context

def your_task():     app.test_request_context():         #your code 

Comments

Popular posts from this blog

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -

c++ - importing crypto++ in QT application and occurring linker errors? -