Can't establish a DB connection. (Maybe threads related)
- by JobGovernor
Hello,
I am getting this exception on the Rufus::Scheduler
ActiveRecord::ConnectionTimeoutError: could not obtain a database connection within 5 seconds. The max pool size is currently 30; consider increasing it.
I've increased the pool from 10 to 30. And I also monkey patched the method which raises the exception to also call…