diff options
author | Nathan Lee <nathan@globalphobia.com> | 2015-09-05 22:23:37 -0600 |
---|---|---|
committer | Nathan Lee <nathan@globalphobia.com> | 2015-09-05 22:23:37 -0600 |
commit | 7dc490b709dbe7fe6b0be1622202f1d51ec88403 (patch) | |
tree | eceb57c22f0351512a68b181aa8c71a739913c35 /guides/source | |
parent | 21ffef38a5dc5a6a21f7e841aecab5b51f4fd185 (diff) | |
download | rails-7dc490b709dbe7fe6b0be1622202f1d51ec88403.tar.gz rails-7dc490b709dbe7fe6b0be1622202f1d51ec88403.tar.bz2 rails-7dc490b709dbe7fe6b0be1622202f1d51ec88403.zip |
[Rails Guides] clarify `ActiveRecord::ConnectionTimeoutError`
Original:
* ActiveRecord::ConnectionTimeoutError - could not obtain a database
connection within 5 seconds. The max pool size is currently 5;
consider increasing it:
Modified version:
* ActiveRecord::ConnectionTimeoutError - could not obtain a database
connection within 5.000 seconds (waited 5.000 seconds)
[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 d63317433d..fda82d81ff 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -1096,7 +1096,7 @@ you and wait for a connection from the pool. If it cannot get a connection, a timeout error similar to that given below will be thrown. ```ruby -ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it: +ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5.000 seconds (waited 5.000 seconds) ``` If you get the above error, you might want to increase the size of the |