Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
アプリケーションから非同期ジョブ処理を実行する簡単な方法として RedisQueue を使用しようとしています。
ただし、ワーカーがフラスコ アプリケーションでジョブを実行しようとすると、アプリ コンテキストの外部での実行に関するバーフィングが発生します。working outside of application context
working outside of application context
def your_task(): with app.test_request_context(): #your code