batch size to 200

This commit is contained in:
hjlarry 2025-12-11 15:44:30 +08:00
parent cd51bfb568
commit 3c5a96a3ee
1 changed files with 1 additions and 1 deletions

View File

@ -856,7 +856,7 @@ def clear_free_plan_tenant_expired_logs(days: int, batch: int, tenant_ids: list[
@click.command("clean-workflow-runs", help="Clean expired workflow runs and related data for free tenants.")
@click.option("--days", default=30, show_default=True, help="Delete workflow runs created before N days ago.")
@click.option("--batch-size", default=1000, show_default=True, help="Batch size for selecting workflow runs.")
@click.option("--batch-size", default=200, show_default=True, help="Batch size for selecting workflow runs.")
@click.option(
"--start-after",
type=click.DateTime(formats=["%Y-%m-%d", "%Y-%m-%dT%H:%M:%S"]),