By default, in Resque, the parent forks and child processes create a new database connection.
This might work, but if you have dozens of employees, MySQL cannot keep many connections open and starts throwing errors.
What would be the solution for children to use a MySQL connection with their parents?
source share