title: How to increase max pool size in ActiveRecord?
body: <p>I get the error:</p>
  
  <pre><code>Error "ActiveRecord::ConnectionTimeoutError - could not obtain a database connection within 5 seconds.  The max pool size is currently 5; consider increasing it."
  </code></pre>
  
  <p>How do I increase the max pool size?</p>
  
  <pre><code># DB CONNECTION
  DB_CONN = ActiveRecord::Base.establish_connection(:adapter =&gt; "sqlite3", :dbfile =&gt; DB_FILE)
  </code></pre>