See PHI1862. This code calls "execute()" on the future directly, but that skips some steps -- notably, ServiceProfiler hooks.
Call "resolve()", which has the same effect but includes desirable/expected side effects.
Differential D21470
In "phutil_passthru()", "resolve()" the future rather than calling "execute()" directly epriestley on Sep 18 2020, 6:22 PM. Authored by Tags None Referenced Files
Subscribers None
Details See PHI1862. This code calls "execute()" on the future directly, but that skips some steps -- notably, ServiceProfiler hooks. Call "resolve()", which has the same effect but includes desirable/expected side effects. Changed a workflow to run "phutil_passthru('ls')", ran it with "--trace". Before: no execution in trace; after: execution in trace.
Diff Detail
|