diff options
author | Tom Clarke <tom@u2i.com> | 2012-05-20 12:41:58 -0400 |
---|---|---|
committer | Tom Clarke <tom@u2i.com> | 2012-05-21 14:31:43 -0400 |
commit | ef19e8020d831758006a9f0472582e9c2c3b7916 (patch) | |
tree | d6835929c65bda24e7f4e395c5c722d0221988d4 /activerecord/lib/active_record/railties | |
parent | b23ac936a6ef980547666da002681a77d8340573 (diff) | |
download | rails-ef19e8020d831758006a9f0472582e9c2c3b7916.tar.gz rails-ef19e8020d831758006a9f0472582e9c2c3b7916.tar.bz2 rails-ef19e8020d831758006a9f0472582e9c2c3b7916.zip |
Prevent concurrent compilation of templates - closes #6400
This addresses an issue where in multi-threaded environments
multiple threads can attempt to compile a template at the same time,
which occasionally causes particular templates to end up in a bad
state.
So, add synchronization such that only a single thread can attempt to
compile a template at one time.
Diffstat (limited to 'activerecord/lib/active_record/railties')
0 files changed, 0 insertions, 0 deletions