From 2de879e61385e3f5f03f04e5e5d47c22dd8cfdac Mon Sep 17 00:00:00 2001 From: epriestley Date: Fri, 30 Nov 2012 11:02:42 -0800 Subject: [PATCH] Minor, extend the lease time of Herald task leases. --- .../worker/PhabricatorRepositoryCommitHeraldWorker.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php index 1a6f611745..b1178df5d6 100644 --- a/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php +++ b/src/applications/repository/worker/PhabricatorRepositoryCommitHeraldWorker.php @@ -3,6 +3,11 @@ final class PhabricatorRepositoryCommitHeraldWorker extends PhabricatorRepositoryCommitParserWorker { + public function getRequiredLeaseTime() { + // Herald rules may take a long time to process. + return 4 * 60 * 60; + } + public function parseCommit( PhabricatorRepository $repository, PhabricatorRepositoryCommit $commit) {