diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-04-15 13:35:56 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-04-15 13:35:56 +0200 |
commit | c0939a5038d11ba3b5580ac87dd996cf85c03daa (patch) | |
tree | d42368ab562e1fdcf0c65b73f6cb7f9e75a3099e /activerecord/test/cases/connection_pool_test.rb | |
parent | 5f00ed10dd820b6802168933c2497d17c43c88f5 (diff) | |
parent | 6345f31fbfb4a683f98a3d13dc73c20533d0e0b7 (diff) | |
download | rails-c0939a5038d11ba3b5580ac87dd996cf85c03daa.tar.gz rails-c0939a5038d11ba3b5580ac87dd996cf85c03daa.tar.bz2 rails-c0939a5038d11ba3b5580ac87dd996cf85c03daa.zip |
Merge pull request #19763 from jonatack/fix-typos-in-docs
Fix typos and improve the documentation
Diffstat (limited to 'activerecord/test/cases/connection_pool_test.rb')
-rw-r--r-- | activerecord/test/cases/connection_pool_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/connection_pool_test.rb b/activerecord/test/cases/connection_pool_test.rb index 8d15a76735..aa50efc979 100644 --- a/activerecord/test/cases/connection_pool_test.rb +++ b/activerecord/test/cases/connection_pool_test.rb @@ -204,13 +204,13 @@ module ActiveRecord end # The connection pool is "fair" if threads waiting for - # connections receive them the order in which they began + # connections receive them in the order in which they began # waiting. This ensures that we don't timeout one HTTP request # even while well under capacity in a multi-threaded environment # such as a Java servlet container. # # We don't need strict fairness: if two connections become - # available at the same time, it's fine of two threads that were + # available at the same time, it's fine if two threads that were # waiting acquire the connections out of order. # # Thus this test prepares waiting threads and then trickles in |