//GetMaxTargets gets the maximum number of targets to be synced in the specified stage
GetMaxTargets gets the maximum number of targets to be synced in the specified stage
// GetMaxTargets gets the maximum number of targets to be synced in the specified stage
func (s *InMemorySyncState) GetMaxTargets(stage syncv1alpha1.ProgressiveSyncStage) int {
	s.Mutex.Lock()
	defer s.Mutex.Unlock()
	return s.MaxTargetsPerStage[stage.Name]
}
func ( s * InMemorySyncState ) GetMaxTargets ( stage syncv1alpha1 . ProgressiveSyncStage ) int { s . Mutex . Lock ( ) defer s . Mutex . Unlock ( ) return s . MaxTargetsPerStage [ stage . Name ] }
GetMaxTargets gets the maximum number of targets to be synced in the specified stage
GetMaxTargets gets the maximum number of targets to be synced in the specified stage