提交 d28c0f74 编写于 作者: J Jeremy Kemper

Typo in stale thread removal.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 2b02596b
...@@ -98,7 +98,7 @@ def remove_stale_cached_threads!(cache, &block) ...@@ -98,7 +98,7 @@ def remove_stale_cached_threads!(cache, &block)
stale = Set.new(cache.keys) stale = Set.new(cache.keys)
Thread.list.each do |thread| Thread.list.each do |thread|
stale -= t.object_id if t.alive? stale -= thread.object_id if t.alive?
end end
stale.each do |thread_id| stale.each do |thread_id|
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册