Commit Graph

8 Commits

Author SHA1 Message Date
oiov
894c013ae3 upd
Some checks failed
Deploy to Cloudflare / Check for Cloudflare Credentials (push) Has been cancelled
Deploy to Cloudflare / Deploy (push) Has been cancelled
2026-04-03 20:31:59 +08:00
oiov
9f7392bab4 perf: optimize D1 database reads and fix deployment issues
- Add API Key caching (5min) to reduce D1 queries
- Remove updateApiKeyLastUsed to reduce unnecessary writes
- Extend stats API cache from 30s to 5min
- Fix SiteStats growth rate calculation (total vs daily)
- Fix deploy.yml to handle empty PASSWORD and API_RATE_LIMIT_PER_MINUTE
- Add emails index (message_to, created_at) for faster queries
- Implement lightweight /api/emails/meta for smart polling
- Reduce frontend polling: check meta every 60s, fetch full list only on change
2026-04-02 13:00:03 +08:00
gujiangjiang
62aefb1f9a feat: 将数据库模块迁移至 worker 服务,并实现 D1 数据库自动迁移 2025-10-17 05:33:12 +08:00
gujiangjiang
019f9361f4 feat: 参照Remix结构添加全局布局,修复深色主题和页面结构,并修复部署报错 2025-10-17 05:23:02 +08:00
gujiangjiang
013afc90fd feat: 优化部署流程,在构建前检查 Cloudflare 密钥,密钥不存在时跳过部署 2025-10-17 05:20:04 +08:00
gujiangjiang
c4ec6d7616 chore: 同步依赖变更 2025-10-17 05:13:27 +08:00
gujiangjiang
1237a71807 fix: 修正 GitHub Action 部署脚本,增加密钥检查步骤 2025-10-17 05:12:27 +08:00
gujiangjiang
9e95acea9f feat: 整合邮件 API 并添加密钥管理 chore: 更新 GitHub Action 部署流程 2025-10-17 05:08:20 +08:00