mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-05 12:21: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
|
final class PhabricatorRepositoryCommitHeraldWorker
|
||||||
extends PhabricatorRepositoryCommitParserWorker {
|
extends PhabricatorRepositoryCommitParserWorker {
|
||||||
|
|
||||||
|
public function getRequiredLeaseTime() {
|
||||||
|
// Herald rules may take a long time to process.
|
||||||
|
return 4 * 60 * 60;
|
||||||
|
}
|
||||||
|
|
||||||
public function parseCommit(
|
public function parseCommit(
|
||||||
PhabricatorRepository $repository,
|
PhabricatorRepository $repository,
|
||||||
PhabricatorRepositoryCommit $commit) {
|
PhabricatorRepositoryCommit $commit) {
|
||||||
|
|
Loading…
Reference in a new issue