Skip to content

Commit

Permalink
Merge pull request #13998 from gaurish/doc-rails-threadsafe
Browse files Browse the repository at this point in the history
`Rails.threadsafe!` mode is deprecated, Update Docs [ci skip]
  • Loading branch information
robin850 committed Feb 9, 2014
2 parents e4911e9 + 395bcb5 commit 3a428f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guides/source/configuring.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 3a428f3

Please sign in to comment.