openshift/origin-server — pull request #5032 by a13m (2014-03-21 18:41:43+00:00)
Title: Remove excessive grep invocations from oo-scheduled-jobs

A recent change to oo-scheduled-jobs for BZ 1065045 introduced an invocation of grep for every gear on a node. This is a performance problem for the minutely cron entry, and this patch provides an alternate solution. In my tests, the elapsed time for the old code was more than 3 seconds, while the new code ran in 0.13 seconds.