From 3c5a96a3ee42573fb16a4e4c29157bbc4f038913 Mon Sep 17 00:00:00 2001 From: hjlarry Date: Thu, 11 Dec 2025 15:44:30 +0800 Subject: [PATCH] batch size to 200 --- api/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/commands.py b/api/commands.py index cdf3a09bb7..9a990459c0 100644 --- a/api/commands.py +++ b/api/commands.py @@ -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"]),