discourse/plugins/poll
Régis Hanol 12cba2ce24 PERF: bail out of expensive post validations
Whenever a post already failed "lightweight" validations, we skip all the expensive validations (that cooks the post or run SQL queries) so that we reply as soon as possible.

Also skip validating polls when there's no "[/poll]" in the raw.

Internal ref - t/115890
2024-05-07 18:56:16 +02:00
..
app DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
assets FIX: nested polls 2024-05-03 19:46:13 +02:00
config Update translations (#26368) 2024-03-26 16:30:01 +01:00
db DEV: Move core plugin TL -> group settings (#25355) 2024-01-23 11:35:14 +10:00
jobs/regular DEV: Apply syntax_tree formatting to `plugins/*` 2023-01-07 11:11:37 +00:00
lib PERF: bail out of expensive post validations 2024-05-07 18:56:16 +02:00
spec FIX: nested polls 2024-05-03 19:46:13 +02:00
test/javascripts DEV: Move core plugin TL -> group settings (#25355) 2024-01-23 11:35:14 +10:00
plugin.rb DEV: Do not attempt to update polls if there are no polls before and after (#26573) 2024-04-12 13:16:10 +08:00