Use AR Adapter callbacks to force reconnects
To prevent connection imbalances on PgBouncer, periodically reconnect to the database when checking out a connection from the Rails connection pool.
Showing
Please register or sign in to comment