discourse/lib/freedom_patches
Alan Guo Xiang Tan 19a92fbadc
PERF: Switch ActiveRecord PG connection active check to use empty query. (#13323)
See https://github.com/rails/rails/pull/42368

The impact is not quantifiable at the time of this writing but
prelimary investigation shows that `SELECT 1` accounts for 0.09 of CPU
time on a database. Note that Discourse runs thousands of databases so
the small impact may be amplified by the large number of databases that
we run.
2021-06-08 13:15:07 +10:00
..
active_record_attribute_methods.rb DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
active_record_base.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
active_record_postgresql_adapter.rb PERF: Switch ActiveRecord PG connection active check to use empty query. (#13323) 2021-06-08 13:15:07 +10:00
ams_include_without_root.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
better_handlebars_errors.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
ember_handlebars.rb DEV: Move select kit to an addon (#9797) 2020-05-15 16:07:35 -04:00
fast_pluck.rb DEV: Upgrade Rails to 6.1.3.1 (#12688) 2021-04-21 12:36:32 +03:00
inflector_backport.rb DEV: correct some Ruby 2.7 deprecations 2020-07-16 17:43:20 +10:00
open_uri_redirections.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
performance_fixes.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
pluck_first.rb DEV: pluck_first 2019-10-21 12:08:20 +01:00
rails4.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
rails_multisite.rb DEV: Allow multisite apps to boot with readonly db. 2020-06-23 16:34:25 +08:00
raw_handlebars.rb FIX: Use `addRawTemplates` even when compiling `.hbr` files (#12228) 2021-03-01 11:46:50 -05:00
safe_buffer.rb DEV: enable frozen string literal on all files 2019-05-13 09:31:32 +08:00
safe_migrations.rb Revert "We have had errors reported due to migrations breaking and are reverting" 2020-04-14 11:31:07 +10:00
schema_cache_concurrency.rb FIX: Patch ActiveRecord SchemaCache for safe concurrency support 2020-02-19 16:26:02 +00:00
schema_migration_details.rb PERF: avoid shelling to get hostname aggressively 2020-02-18 15:13:19 +11:00
sprockets_patches.rb PERF: apply sprockets patch in a test environment (#11034) 2020-10-27 10:17:21 +11:00
translate_accelerator.rb PERF: Ensure locales are always handled as symbols internally (#12897) 2021-04-30 10:56:27 +01:00