Closed gdiggs closed 8 years ago
LGTM. I wonder how this was interacting with the fork-daemon stuff in engine.php
that is supposed to provide concurrency.
@wfleming As i watched the output (with lots of extra logging), each worker would hang at the implode call for a bit.
@GordonDiggs Oh, I totally believe you. I'm just unclear on how the fork-daemon is working or what it's doing. I thought the fork-daemon basically dispatched individual files to workers, but this makes it look more like it does some kind of batching? Maybe that's what this line controls.
@wfleming I think that is correct
In my testing, this
implode
call was taking a really long time to run, and phpmd itself seemed faster when only given one file at a time.@codeclimate/review