discourse/lib/freedom_patches
David Taylor 3f6c2f82d0
DEV: Use MiniSql ActiveRecordPostgres adapter (#15767)
This adapter ensures that MiniSql locks the ActiveRecord mutex before using the raw PG connection. This ensures that multiple threads will not attempt to use the same connection simultaneously.

This commit also removes the schema_cache_concurrency freedom-patch, which is no longer required now that cross-thread connection use is controlled by the mutex.

For the original root cause of this issue, see https://github.com/rails/rails/pull/38577
2022-02-03 10:00:28 +00: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: Let's always give a drop_from param to deprecate (#14901) 2021-11-12 08:52:59 -06: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
better_handlebars_errors.rb
copy_file.rb DEV: Work around a Docker issue (#13368) 2021-06-14 17:38:36 +02: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
ip_addr.rb DEV: Follow Discourse's convention when monkey patching. 2022-01-11 09:48:27 +08:00
open_uri_redirections.rb Build(deps): Bump rubocop from 1.18.2 to 1.18.3 (#13653) 2021-07-07 01:51:43 +02:00
pluck_first.rb
rails4.rb
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
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_migration_details.rb
seed_fu.rb FIX: Ensure id sequences are not reset during db:migrate (#14184) 2021-08-30 12:31:22 +01:00
sprockets_patches.rb PERF: apply sprockets patch in a test environment (#11034) 2020-10-27 10:17:21 +11:00
translate_accelerator.rb FIX: "Customize Text" showed compiled MessageFormat string for overridden `_MF` translations 2021-12-17 14:03:35 +01:00