mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 05:45:55 +03:00
[GH-ISSUE #823] [Feature] 通过分割邮件原文来储存过大邮件 #307
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#307
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FroyoRab on GitHub (Jan 29, 2026).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/823
请描述您的 Feature
当前方案在处理过大邮件时,会出现TG通知了,但是查询不到邮件的问题。通过日志查询可见

数据库插入报错
save email error Error: D1_ERROR: string or blob too big: SQLITE_TOOBIG可见由于blob/string过大导致入库失败。
描述您想要的解决方案
是否可以通过对过大邮件进行分片后存入SQLite进行保存,增加一个分片索引列,根据分片索引进行合并后读取。
描述您考虑过的替代方案
在workers增加一个配置,可以将整体数据导入到自建sqlite。但是会导致“托管”概念没了。而且我理解这样有大量的sql连接部分需要更改。
附加上下文
部分问题排查截图
@dreamhunter2333 commented on GitHub (Jan 30, 2026):
感谢反馈,我看下能不能实现