automatyzacje-comit1
This commit is contained in:
@@ -30,6 +30,8 @@ def cleanup(force: bool = False) -> dict[str, int]:
|
||||
targets = {
|
||||
"traffic_history": ("created_at", TRAFFIC_HISTORY_RETENTION_DAYS),
|
||||
"smart_queue_history": ("created_at", SMART_QUEUE_HISTORY_RETENTION_DAYS),
|
||||
# Note: Automation history follows Smart Queue retention; rules and rule state are never deleted here.
|
||||
"automation_history": ("created_at", SMART_QUEUE_HISTORY_RETENTION_DAYS),
|
||||
"jobs": ("updated_at", JOBS_RETENTION_DAYS),
|
||||
"logs": ("created_at", LOG_RETENTION_DAYS),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user