discourse/plugins/poll/app
Bianca Nenciu dd5502f166
PERF: Cache serialized voters at topic view level (#28894)
This commit introduces a way to fetch the "serialized voters" for
multiple polls.

* Use a single query to fetch voters for all types of polls

* Refactor to introduce all_serialized_voters

* Cache serialized voters
2024-09-18 12:01:40 +03:00
..
controllers FEATURE: Add Ranked Choice Voting 2024-07-17 11:49:14 +02:00
models PERF: Cache serialized voters at topic view level (#28894) 2024-09-18 12:01:40 +03:00
serializers PERF: Preload voters_count and has_voted (#28808) 2024-09-10 18:41:08 +03:00