mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-11 07:11:04 +01:00
Make Conpherence a lot faster
Summary: Remove a sleep(). Test Plan: Thread cost dropped from ~1s to ~70ms for a test thread based on profiling after D4885. Reviewers: btrahan, chad, vrana Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D4886
This commit is contained in:
parent
628bef0771
commit
4a3a4fdea3
1 changed files with 0 additions and 4 deletions
|
@ -71,10 +71,6 @@ final class ConpherenceTransactionView extends AphrontView {
|
|||
break;
|
||||
case PhabricatorTransactions::TYPE_COMMENT:
|
||||
$comment = $transaction->getComment();
|
||||
$file_ids =
|
||||
PhabricatorMarkupEngine::extractFilePHIDsFromEmbeddedFiles(
|
||||
array($comment->getContent())
|
||||
);
|
||||
$content = $this->markupEngine->getOutput(
|
||||
$comment,
|
||||
PhabricatorApplicationTransactionComment::MARKUP_FIELD_COMMENT);
|
||||
|
|
Loading…
Reference in a new issue