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

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -