1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02: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:
Arturas Moskvinas 2015-05-17 07:25:03 -07:00 committed by epriestley
parent 00136f05dd
commit 5f797b4d47

View file

@ -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();