Files
openfoodnetwork/app/services
Pau Perez 116109c63d Make /api/orders N+1 free
With the help of the bullet gem, and since we remove a couple of N+1s
already, remove them all was just a few keystrokes away. This commits
gets us from 42 SQL queries to 17, and 364.5ms to 253.9ms on my machine
where I just have the sample data's orders. As usual, this will have
a much bigger impact in scenarios with more data.
2021-02-23 10:26:12 -08:00
..
2021-02-02 23:04:12 +00:00
2021-02-01 16:38:40 +01:00
2020-06-22 17:39:20 +01:00
2021-02-12 13:46:05 -08:00
2021-02-23 10:26:12 -08:00
2019-11-10 18:42:43 +00:00