mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
📝 Comment to explain why Uniqueness isn't protected by a lock
This commit is contained in:
@@ -2003,6 +2003,8 @@ abstract class DBObject implements iDisplay
|
||||
continue;
|
||||
}
|
||||
|
||||
// No iTopMutex so there might be concurrent access !
|
||||
// But the necessary lock would have a high performance cost :(
|
||||
$bHasDuplicates = $this->HasObjectsInDbForUniquenessRule($sUniquenessRuleId, $aUniquenessRuleProperties);
|
||||
if ($bHasDuplicates)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user