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
Post a Comment