Correctly pass worker priority from reparse script
Summary: D11044 broke the `./scripts/repository/reparse.php` script. Test Plan: `./scripts/repository/reparse.php --message --all X` Reviewers: btrahan, #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11211
This commit is contained in:
@@ -273,7 +273,9 @@ foreach ($commits as $commit) {
|
|||||||
PhabricatorWorker::scheduleTask(
|
PhabricatorWorker::scheduleTask(
|
||||||
$class,
|
$class,
|
||||||
$spec,
|
$spec,
|
||||||
PhabricatorWorker::PRIORITY_IMPORT);
|
array(
|
||||||
|
'priority' => PhabricatorWorker::PRIORITY_IMPORT,
|
||||||
|
));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
foreach ($classes as $class) {
|
foreach ($classes as $class) {
|
||||||
|
|||||||
Reference in New Issue
Block a user