mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Recover from repositories becoming unpullable
Test Plan: If a repository's tracking flag is toggled while it's in queue, we may loop indefinitely. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11296
This commit is contained in:
parent
00136f05dd
commit
5f797b4d47
1 changed files with 2 additions and 1 deletions
|
@ -150,7 +150,8 @@ final class PhabricatorRepositoryPullLocalDaemon
|
||||||
if (!$repository) {
|
if (!$repository) {
|
||||||
$this->log(
|
$this->log(
|
||||||
pht('Repository %s is no longer pullable; skipping.', $id));
|
pht('Repository %s is no longer pullable; skipping.', $id));
|
||||||
break;
|
unset($queue[$id]);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
$monogram = $repository->getMonogram();
|
$monogram = $repository->getMonogram();
|
||||||
|
|
Loading…
Reference in a new issue