diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-02-09 21:54:15 +0100 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-02-09 21:54:15 +0100 |
commit | 3a428f38b2f9a1e995070a4a049645b622c7094a (patch) | |
tree | f4bd71bf430f5487d3b3ce5e3ce068fe5a21164b /guides/source | |
parent | e4911e9162e65ba995009c973462129d00dce1a6 (diff) | |
parent | 395bcb5cfc516870bb9ba53e776a3ac70eea4952 (diff) | |
download | rails-3a428f38b2f9a1e995070a4a049645b622c7094a.tar.gz rails-3a428f38b2f9a1e995070a4a049645b622c7094a.tar.bz2 rails-3a428f38b2f9a1e995070a4a049645b622c7094a.zip |
Merge pull request #13998 from gaurish/doc-rails-threadsafe
`Rails.threadsafe!` mode is deprecated, Update Docs [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index d3bd5c1c18..7b72e27b96 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -939,4 +939,4 @@ ActiveRecord::ConnectionTimeoutError - could not obtain a database connection wi If you get the above error, you might want to increase the size of connection pool by incrementing the `pool` option in `database.yml` -NOTE. If you have enabled `Rails.threadsafe!` mode then there could be a chance that several threads may be accessing multiple connections simultaneously. So depending on your current request load, you could very well have multiple threads contending for a limited amount of connections. +NOTE. As Rails is multi-threaded by default, there could be a chance that several threads may be accessing multiple connections simultaneously. So depending on your current request load, you could very well have multiple threads contending for a limited amount of connections. |