【发布时间】:2011-04-27 08:15:04
【问题描述】:
我得到错误:
Error "ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it."
如何增加最大池大小?
# DB CONNECTION
DB_CONN = ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => DB_FILE)
【问题讨论】:
标签: ruby activerecord sqlite