Closed bar closed 11 years ago
They are mostly optimizations.
startup()
like CakeResque::init()
to not repeat the code.self::$cakeResque
in favor of CakeResqueShell::$cakeResque
to be nice with PHP 5.3.start()
, calculate worker arguments once, and not every time for $count
workers (all the sibling workers share the same configs).I was talking about a precise line
For what I see, it changes nothing. I'm mobile right now, I'll revert it ASAP.
I forgot APP
in the rebase :/, I'll fix it later.
DRY when building libraries paths. Do calculations outside the workers loop. Minor optimizations.