hautelook/GearmanBundle — pull request #30 by AntonStoeckl (2013-11-18 08:38:05+00:00)
Title: Worker jobs limit

Added an option "--count". If set to something greater than 0 it will stop the while loop in the GearmanRunCommand after that number of handled jobs. This helps with memory leaks and other stuff (e.g. workers having cached outdated data in memory).