what is the use of the pool option in database.yml

前端 未结 3 2152
忘掉有多难
忘掉有多难 2021-02-03 18:49

Most widely used options in database.yml are of following :

adapter
encoding
database
pool
username
password
socket
host
port
timeout

I know th

3条回答
  •  名媛妹妹
    2021-02-03 19:19

    pool is the config of size of connection pool, which is 5 by default.

    http://api.rubyonrails.org/classes/ActiveRecord/ConnectionAdapters/ConnectionPool.html

提交回复
热议问题