订单售后费用导入:改为流式解析 xlsx,避免整本加载拖垮服务器 #422
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/renshen-import-streaming"
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?
上一次导入使用 PhpSpreadsheet 整本加载 11.5 万行 × 95 列,内存暴涨导致服务器 swap/重启。本次改为直接流式读取 xlsx XML(sharedStrings + 工作表),实测 15 秒、峰值内存约 105MB,并新增 --dry-run 预校验。