mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 16:22:43 +01:00
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:
parent
4e7c10cec5
commit
e12f0bb53a
1 changed files with 3 additions and 1 deletions
|
@ -273,7 +273,9 @@ foreach ($commits as $commit) {
|
|||
PhabricatorWorker::scheduleTask(
|
||||
$class,
|
||||
$spec,
|
||||
PhabricatorWorker::PRIORITY_IMPORT);
|
||||
array(
|
||||
'priority' => PhabricatorWorker::PRIORITY_IMPORT,
|
||||
));
|
||||
}
|
||||
} else {
|
||||
foreach ($classes as $class) {
|
||||
|
|
Loading…
Reference in a new issue