mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-03 03:11:01 +01:00
Prevent daemons from spinning when they hit duplicate key exceptions.
This commit is contained in:
parent
40a20aec97
commit
0d292abbf0
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ abstract class PhabricatorRepositoryCommitDiscoveryDaemon
|
|||
// more than once when looking at history, or because of races or
|
||||
// data inconsistency or cosmic radiation; in any case, we're still
|
||||
// in a good state if we ignore the failure.
|
||||
$this->commitCache[$commit_identifier] = true;
|
||||
}
|
||||
|
||||
$this->stillWorking();
|
||||
|
|
Loading…
Reference in a new issue