You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ActiveRecord database connections are managed by `ActiveRecord::ConnectionAdapters::ConnectionPool` which ensures that a connection pool synchronizes the amount of thread access to a limited number of database connections. This limit defaults to 5and can be configured in`database.yml`.
3549
3549
3550
-
```ruby
3550
+
```yaml
3551
3551
development:
3552
3552
adapter: sqlite3
3553
3553
database: storage/development.sqlite3
@@ -3563,7 +3563,7 @@ If you try to use more connections than are available, Active Record will block
3563
3563
you and wait for a connection from the pool. If it cannot get a connection, a
3564
3564
timeout error similar to that given below will be thrown.
3565
3565
3566
-
```ruby
3566
+
```
3567
3567
ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5.000 seconds (waited 5.000 seconds)
0 commit comments