mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Update arcanist to use PhutilServiceProfiler.
Summary: Switch to the new PhutilServiceProfiler API. Test Plan: Ran "arc" with "--trace", got mostly reasonable output. I'll clean up conduit output in a followup. Reviewed By: aran Reviewers: aran, jungejason, tuomaspelkonen CC: aran Differential Revision: 292
This commit is contained in:
parent
3edd525f83
commit
ade681e0db
1 changed files with 1 additions and 2 deletions
|
@ -65,7 +65,7 @@ $args = array_values($args);
|
||||||
try {
|
try {
|
||||||
|
|
||||||
if ($config_trace_mode) {
|
if ($config_trace_mode) {
|
||||||
ExecFuture::pushEchoMode(true);
|
PhutilServiceProfiler::installEchoListener();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!$args) {
|
if (!$args) {
|
||||||
|
@ -168,7 +168,6 @@ try {
|
||||||
"Specify the Conduit URI for the host Differential is running on.");
|
"Specify the Conduit URI for the host Differential is running on.");
|
||||||
}
|
}
|
||||||
$conduit = new ConduitClient($conduit_uri);
|
$conduit = new ConduitClient($conduit_uri);
|
||||||
$conduit->setTraceMode($config_trace_mode);
|
|
||||||
$workflow->setConduit($conduit);
|
$workflow->setConduit($conduit);
|
||||||
|
|
||||||
$hosts_config = idx($user_config, 'hosts', array());
|
$hosts_config = idx($user_config, 'hosts', array());
|
||||||
|
|
Loading…
Reference in a new issue