diff options
author | Matthew Draper <matthew@trebex.net> | 2016-11-19 22:07:40 +1030 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2016-11-25 00:30:45 +1030 |
commit | d314646c965b045724e6bdb9d61dcecfabc0ba8f (patch) | |
tree | 00d8106f708c2bb8df7d0579bb3d76c42843e759 /activerecord/lib/active_record/autosave_association.rb | |
parent | f9230a2d424b177257056be9b9247cbe25caa101 (diff) | |
download | rails-d314646c965b045724e6bdb9d61dcecfabc0ba8f.tar.gz rails-d314646c965b045724e6bdb9d61dcecfabc0ba8f.tar.bz2 rails-d314646c965b045724e6bdb9d61dcecfabc0ba8f.zip |
Distribute connections to previously blocked threads when we're done
Two methods block new connections; we were already doing the right thing
for clear_reloadable_connections, but it's better placed in
with_new_connections_blocked, where it can work for disconnect too.
Diffstat (limited to 'activerecord/lib/active_record/autosave_association.rb')
0 files changed, 0 insertions, 0 deletions