discourse/plugins/poll/lib
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
..
tasks DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
poll.rb PERF: Cache serialized voters at topic view level (#28894) 2024-09-18 12:01:40 +03:00
polls_updater.rb DEV: Shorten a condition (#25951) 2024-02-29 12:57:53 +08:00
polls_validator.rb DEV: Apply syntax_tree formatting to plugins/* 2023-01-07 11:11:37 +00:00
post_extension.rb DEV: Update rubocop-discourse to latest version 2024-03-04 15:08:35 +01:00
post_validator.rb DEV: Move core plugin TL -> group settings (#25355) 2024-01-23 11:35:14 +10:00
ranked_choice.rb FIX: poll ranked choice result algo majority check (#28191) 2024-08-02 08:51:26 +02:00
user_extension.rb DEV: Update rubocop-discourse to latest version 2024-03-04 15:08:35 +01:00