From e12f0bb53aafa6eec3ccb5f6ff712ee9998734b8 Mon Sep 17 00:00:00 2001 From: Joshua Spence Date: Mon, 5 Jan 2015 08:34:05 +1100 Subject: [PATCH] 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 --- scripts/repository/reparse.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/repository/reparse.php b/scripts/repository/reparse.php index c95a7e91b4..0571970974 100755 --- a/scripts/repository/reparse.php +++ b/scripts/repository/reparse.php @@ -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) {