mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
The ReportsController was referencing the report and the report was referencing the controller. It's unlikely that this circular dependency created a memory leak but it's generally a bad design. And we need to make the reporting independent of the controller to isolate it in a background job.