mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-03 19:31:02 +01:00
Minor, extend the lease time of Herald task leases.
This commit is contained in:
parent
3b977e3b00
commit
2de879e613
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue