aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch
diff options
context:
space:
mode:
authorthedarkone <thedarkone2@gmail.com>2013-08-07 20:23:22 +0200
committerthedarkone <thedarkone2@gmail.com>2013-09-28 19:19:07 +0200
commit28572f59f828cc2b8309e8c477658fed2a38f83b (patch)
tree98f5e7dac1908b8ef13e0dd88c4ea9651fb97843 /actionpack/lib/action_dispatch
parent2dea0dd099302de640aac28349569c002131c612 (diff)
downloadrails-28572f59f828cc2b8309e8c477658fed2a38f83b.tar.gz
rails-28572f59f828cc2b8309e8c477658fed2a38f83b.tar.bz2
rails-28572f59f828cc2b8309e8c477658fed2a38f83b.zip
Use TS::Cache instead of Mutex + Hash.
TS::Cache#compute_if_absent guarantees that only a single thread will get to execute the provided block for a given key.
Diffstat (limited to 'actionpack/lib/action_dispatch')
0 files changed, 0 insertions, 0 deletions