Ref T13008. Currently, ConduitClient calls isReady() on futures before returning them.
This is very old, and wrong: it makes the future activate and start working. In the case of ConduitFutures, which wrap HTTPFutures, it causes them to make an HTTP request.
Instead, return dormant futures without calling isReady(). Then the construct used by ArcanistFileUploader and many other pieces of code will limit parallelism properly:
$iterator = id(new FutureIterator($futures)) ->limit(4); foreach ($iterator as $future) { // ... }
Also, fix up the --trace profiler integration so we get a log when the future actually starts, not when we create it.