David Taylor b37d2f09ba
PERF: Memoize allowed user fields more efficiently (#8968)
Previously we were caching by user_id, but the there are only two possible outcomes. Therefore we only need to cache two values.

This removes another N+1 query when serializing multiple user cards.
2020-02-14 14:47:16 +00:00
..
2020-01-15 11:27:12 +01:00
2019-10-21 12:08:20 +01:00
2019-05-22 17:39:44 +03:00
2020-02-13 16:56:46 -05:00
2019-10-21 12:08:20 +01:00