mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 13:05:17 +08:00
3f6c2f82d0
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 |
||
---|---|---|
.. | ||
active_record_attribute_methods.rb | ||
active_record_base.rb | ||
active_record_postgresql_adapter.rb | ||
ams_include_without_root.rb | ||
better_handlebars_errors.rb | ||
copy_file.rb | ||
ember_handlebars.rb | ||
fast_pluck.rb | ||
inflector_backport.rb | ||
ip_addr.rb | ||
open_uri_redirections.rb | ||
pluck_first.rb | ||
rails_multisite.rb | ||
rails4.rb | ||
raw_handlebars.rb | ||
safe_buffer.rb | ||
safe_migrations.rb | ||
schema_migration_details.rb | ||
seed_fu.rb | ||
sprockets_patches.rb | ||
translate_accelerator.rb |