Skip to content

Commit

Permalink
fix: update task retention days to 7
Browse files Browse the repository at this point in the history
  • Loading branch information
gagantrivedi committed Aug 13, 2024
1 parent 6660af5 commit 5a4537d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/app/settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,15 +994,15 @@
)

ENABLE_CLEAN_UP_OLD_TASKS = env.bool("ENABLE_CLEAN_UP_OLD_TASKS", default=True)
TASK_DELETE_RETENTION_DAYS = env.int("TASK_DELETE_RETENTION_DAYS", default=30)
TASK_DELETE_RETENTION_DAYS = env.int("TASK_DELETE_RETENTION_DAYS", default=7)
TASK_DELETE_BATCH_SIZE = env.int("TASK_DELETE_BATCH_SIZE", default=2000)
TASK_DELETE_INCLUDE_FAILED_TASKS = env.bool(
"TASK_DELETE_INCLUDE_FAILED_TASKS", default=False
)
TASK_DELETE_RUN_TIME = env.time("TASK_DELETE_RUN_TIME", default="01:00")
TASK_DELETE_RUN_EVERY = env.timedelta("TASK_DELETE_RUN_EVERY", default=86400)
RECURRING_TASK_RUN_RETENTION_DAYS = env.int(
"RECURRING_TASK_RUN_RETENTION_DAYS", default=30
"RECURRING_TASK_RUN_RETENTION_DAYS", default=7
)

# Webhook settings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
},
{
"name": "TASK_DELETE_RETENTION_DAYS",
"value": "44"
"value": "7"
},
{
"name": "TASK_DELETE_BATCH_SIZE",
Expand Down

0 comments on commit 5a4537d

Please sign in to comment.