mirror of
https://github.com/rommapp/romm.git
synced 2026-12-03 10:33:22 +01:00
Instead of making FastAPI handle file download, which has serious performance issues on big files [1], this change uses nginx's `X-Accel` feature to delegate single-file downloads to nginx. Partial fix for #1079, as it solves the CPU usage issue for single-file downloads. [1] https://github.com/fastapi/fastapi/discussions/6050