Permalink
Browse files

`Rails.threadsafe!` mode is deprecated

[ci skip]
  • Loading branch information...
1 parent 72e11ab commit 395bcb5cfc516870bb9ba53e776a3ac70eea4952 @gaurish gaurish committed Feb 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 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.

0 comments on commit 395bcb5

Please sign in to comment.