code: func ConfigureCommand(name string, config CommandConfig) {
  	settingsMutex.Lock()
  	defer settingsMutex.Unlock()
  
  	timeout := DefaultTimeout
  	if config.Timeout != 0 {
  		timeout = config.Timeout
  	}
  
  	max := DefaultMaxConcurrent
  	if config.MaxConcurrentRequests != 0 {
  		max = config.MaxConcurrentRequests
  	}
  
  	volume := DefaultVolumeThreshold
  	if config.RequestVolumeThreshold != 0 {
  		volume = config.RequestVolumeThreshold
  	}
  
  	sleep := DefaultSleepWindow
  	if config.SleepWindow != 0 {
  		sleep = config.SleepWindow
  	}
  
  	errorPercent := DefaultErrorPercentThreshold
  	if config.ErrorPercentThreshold != 0 {
  		errorPercent = config.ErrorPercentThreshold
  	}
  
  	circuitSettings[name] = &Settings{
  		Timeout:                time.Duration(timeout) * time.Millisecond,
  		MaxConcurrentRequests:  max,
  		RequestVolumeThreshold: uint64(volume),
  		SleepWindow:            time.Duration(sleep) * time.Millisecond,
  		ErrorPercentThreshold:  errorPercent,
  	}
  }
docs: // ConfigureCommand applies settings for a circuit