feat(prune_logs): add optional max_rows_per_run param (#36313)

This commit is contained in:
Declan Zhao
2025-12-04 08:15:10 -05:00
committed by GitHub
parent 3eec441abe
commit d121cfdbda
3 changed files with 27 additions and 14 deletions

View File

@@ -1215,7 +1215,7 @@ class CeleryConfig: # pylint: disable=too-few-public-methods
# "prune_logs": {
# "task": "prune_logs",
# "schedule": crontab(minute="*", hour="*"),
# "kwargs": {"retention_period_days": 180},
# "kwargs": {"retention_period_days": 180, "max_rows_per_run": 10000},
# },
# Uncomment to enable Slack channel cache warm-up
# "slack.cache_channels": {