//GetMaxParallel gets the maximum level of parallelism to be applied when syncing/scheduling apps in the specified stage
GetMaxParallel gets the maximum level of parallelism to be applied when syncing/scheduling apps in the specified stage
// GetMaxParallel gets the maximum level of parallelism to be applied when syncing / scheduling apps in the specified stage
func (s *InMemorySyncState) GetMaxParallel(stage syncv1alpha1.ProgressiveSyncStage) int {
	s.Mutex.Lock()
	defer s.Mutex.Unlock()
	return s.MaxParallelPerStage[stage.Name]
}
func ( s * InMemorySyncState ) GetMaxParallel ( stage syncv1alpha1 . ProgressiveSyncStage ) int { s . Mutex . Lock ( ) defer s . Mutex . Unlock ( ) return s . MaxParallelPerStage [ stage . Name ] }
GetMaxParallel gets the maximum level of parallelism to be applied when syncing/scheduling apps in the specified stage
GetMaxParallel gets the maximum level of parallelism to be applied when syncing / scheduling apps in the specified stage