Differential D14834 Diff 35888 src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryCommitChangeParserWorker.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/repository/worker/commitchangeparser/PhabricatorRepositoryCommitChangeParserWorker.php
Show First 20 Lines • Show All 87 Lines • ▼ Show 20 Lines | abstract class PhabricatorRepositoryCommitChangeParserWorker | ||||
} | } | ||||
protected function finishParse() { | protected function finishParse() { | ||||
$commit = $this->commit; | $commit = $this->commit; | ||||
$commit->writeImportStatusFlag( | $commit->writeImportStatusFlag( | ||||
PhabricatorRepositoryCommit::IMPORTED_CHANGE); | PhabricatorRepositoryCommit::IMPORTED_CHANGE); | ||||
id(new PhabricatorSearchIndexer()) | PhabricatorSearchWorker::queueDocumentForIndexing($commit->getPHID()); | ||||
->queueDocumentForIndexing($commit->getPHID()); | |||||
if ($this->shouldQueueFollowupTasks()) { | if ($this->shouldQueueFollowupTasks()) { | ||||
$this->queueTask( | $this->queueTask( | ||||
'PhabricatorRepositoryCommitOwnersWorker', | 'PhabricatorRepositoryCommitOwnersWorker', | ||||
array( | array( | ||||
'commitID' => $commit->getID(), | 'commitID' => $commit->getID(), | ||||
)); | )); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 51 Lines • Show Last 20 Lines |