在 `account.py` 和 `stats.py` 中为获取状态为 open 的交易记录添加了条数限制,避免全表加载导致内存暴增。在 `trades.py` 中也为相关查询添加了限制,确保系统在处理大量数据时的稳定性。此外,更新了 `models.py` 中的默认 limit 设置,进一步优化内存使用。此更新有助于提升系统性能与资源管理。 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| account.py | ||
| accounts.py | ||
| admin.py | ||
| auth.py | ||
| config.py | ||
| dashboard.py | ||
| public.py | ||
| recommendations.py | ||
| stats.py | ||
| system.py | ||
| trades.py | ||