discourse/spec
Sam Saffron f8eddd40ad PERF: remove avg_time calculations and regular jobs from posts and topics
After careful analysis of large data-sets it became apparent that avg_time
had no impact whatsoever on "best of" topic scoring. Calculating avg_time
was a very costly operation especially on large databases.

We have some longer term plans of introducing other weighting that is read
time based into our scoring for "best of" and "top" topics, but in the
interim to stop a large amount of work that is not achieving any value we
are removing the jobs.

Column removal will follow once we decide on a new replacement metric.
2019-05-06 15:59:01 +10:00
..
components List and restore missing post uploads from S3 inventory. 2019-05-04 01:16:20 +05:30
fabricators DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
fixtures FIX: Prioritize VERP key over final_recipient header in bounced email 2019-05-03 12:12:44 +01:00
helpers FEATURE: Automatically generate optimized site metadata icons (#7372) 2019-05-01 14:44:45 +01:00
import_export DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
integration DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
integrity DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
jobs FIX: Properly associate user_profiles background urls via upload id. 2019-05-02 14:58:24 +08:00
lib FIX: Properly associate user_profiles background urls via upload id. 2019-05-02 14:58:24 +08:00
mailers DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
models PERF: remove avg_time calculations and regular jobs from posts and topics 2019-05-06 15:59:01 +10:00
multisite DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
requests FIX: Fail gracefully if username parameter is missing when creating user 2019-05-03 17:17:06 +01:00
serializers FIX: Properly associate user_profiles background urls via upload id. 2019-05-02 14:58:24 +08:00
services FIX: Can't remove user profile uploads. 2019-05-02 16:54:10 +08:00
support DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
tasks DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
views/omniauth_callbacks DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
rails_helper.rb FEATURE: Automatically generate optimized site metadata icons (#7372) 2019-05-01 14:44:45 +01:00