25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。
TypeScript aicliclickhousedatabasedatabase-clientdatabase-managementdockerguimcpmongodbmysqlpostgresqlredisrustsql-serversqlitetaurivue
chore(plugin-stats): slow resume cron to hourly to cut KV writes
t8y27126fb28c08d
diff --git a/deploy/plugin-stats-worker/README.md b/deploy/plugin-stats-worker/README.mdindex 646b34efdb..1651caba54 100644--- a/deploy/plugin-stats-worker/README.md+++ b/deploy/plugin-stats-worker/README.md@@ -64,8 +64,11 @@ aggregation stalled silently for three weeks (2026-09-28 → 2026-10-20) whileraw AE data kept flowing. Now every invocation processes at most `chunk` keys(tuning halves on failure, creeps up on success, 8–400), persists its cursor in`agg:state`, and completes the summary write + watermark advance only when the-pass finishes. Crons: `30 0 * * *` opens the day's window, `*/10 * * * *`-resumes any in-flight pass. AE row order is normalized with a JS sort because+pass finishes. Crons: `30 0 * * *` opens the day's window, `0 * * * *`+resumes any in-flight pass (a normal window finishes in a few ticks ≈ hours;+the hourly cadence keeps daily KV writes under the free-plan 1000/day alert+line — freshness is a decorative concern here, raise the frequency only if+display latency starts to matter). AE row order is normalized with a JS sort becausethe offset cursor must index identically across invocations. Requiredsubrequests per invocation: `chunk`-bounded (~2·chunk + 6) — never the wholebacklog. After deploying schema-affecting changes, or to backfill from scratch,diff --git a/deploy/plugin-stats-worker/wrangler.json b/deploy/plugin-stats-worker/wrangler.jsonindex bd877910bd..420909badd 100644--- a/deploy/plugin-stats-worker/wrangler.json+++ b/deploy/plugin-stats-worker/wrangler.json@@ -30,7 +30,7 @@"triggers": {"crons": ["30 0 * * *",- "*/10 * * * *"+ "0 * * * *"]}}