josegonzalez/cake_djjob — pull request #4 by sime (2012-12-12 10:43:25+00:00)
Title: Re-use existing PDO object

It pains me that CakeDjjob spawns a new connection for it to work. DJJob.php has support for reusing an existing PDO connection:

https://github.com/seatgeek/djjob/blob/master/DJJob.php#L38-39

I notice this because I use xeround.com free MySQL instance for testing and it has a limit of 5 connection. Quite often I run out of connections and its because CakeDjjob is attempting to create a new one.