code: func GetDurationOrDefault(key string, defVal time.Duration) time.Duration {
  	viperLock.RLock()
  	defer viperLock.RUnlock()
  
  	if val := viper.GetDuration(key); val != 0 {
  		return val
  	}
  
  	return defVal
  }
docs: // GetDurationOrDefault returns the Duration value from config if present otherwise default value