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.
デフォルトでは、タスク履歴は 1 日後に削除されると思います。30日後に有効期限が切れる必要があります。
CELERY_TASK_RESULT_EXPIRES私が探しているのは何ですか?または、カスタムカムを作成する必要がありますか?
CELERY_TASK_RESULT_EXPIRES
ありがとう!
これによれば:
http://docs.celeryproject.org/en/latest/configuration.html?highlight=celery_task_result_expires#celery-task-result-expires
CELERY_TASK_RESULT_EXPIRESまさにあなたが探しているもののように聞こえます。すべての結果バックエンドがサポートされているわけではないため、注を確認してください。celerybeat を実行する必要があるものもあります。