降低业绩匹配任务峰值内存 #395
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/wuyongjie-finance-memory-usage"
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?
修改
--limit下推 SQL,订单查询结果、候选集合和中间金额数组在使用完成后释放。文件:
app/Console/Commands/SyncStoreReceiptOrderMatches.php、tests/Unit/EcommerceFinance/StoreReceiptMemoryTest.php。scripts/test-release-inclusion.ps1实际 Git 历史用例。验证
范围与发布
涉及金额计算路径但计算口径保持一致;不改权限、数据库结构、生产数据库参数或业务数据。
线上
31ace981与主线a6e0b2ac文件内容一致但提交身份不同。仓库仅允许 Squash,因此保留正常 Squash 流程并修复上述误判;只有完整文件树相等才视为已包含。合并后走标准工作站发布,验收受影响命令的受限只读计算、页面及容器健康;常驻数据库内存优化另列方案。