You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/settings-library/src/settings_library/celery.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,12 @@ class CelerySettings(BaseCustomSettings):
22
22
description="Time after which task results will be deleted (default to seconds, or see https://pydantic-docs.helpmanual.io/usage/types/#datetime-types for string formating)."
23
23
),
24
24
] =timedelta(days=7)
25
+
CELERY_EPHEMERAL_RESULT_EXPIRES: Annotated[
26
+
timedelta,
27
+
Field(
28
+
description="Time after which ephemeral task results will be deleted (default to seconds, or see https://pydantic-docs.helpmanual.io/usage/types/#datetime-types for string formating)."
0 commit comments