mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:18:23 +00:00
b37d2f09ba
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.