Skip to content

Commit

Permalink
Default RELAY_MANAGED_DYNAMIC_CONFIG to true
Browse files Browse the repository at this point in the history
  • Loading branch information
vanstee committed Nov 28, 2016
1 parent 85677ac commit 2c7d344
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example_relay.conf
Expand Up @@ -24,7 +24,7 @@ max_concurrent: 8
# Use managed dynamic configuration
# Requires dynamic_config_root
# Environment variable: $RELAY_MANAGED_DYNAMIC_CONFIG
# Default: false
# Default: true
# managed_dynamic_config: false

# Refresh interval for managed dynamic configuration files.
Expand Down
2 changes: 1 addition & 1 deletion relay/config/config.go
Expand Up @@ -38,7 +38,7 @@ type Config struct {
ID string `yaml:"id" env:"RELAY_ID" valid:"uuid,required"`
MaxConcurrent int `yaml:"max_concurrent" env:"RELAY_MAX_CONCURRENT" valid:"int64,required" default:"16"`
DynamicConfigRoot string `yaml:"dynamic_config_root" env:"RELAY_DYNAMIC_CONFIG_ROOT" valid:"-"`
ManagedDynamicConfig bool `yaml:"managed_dynamic_config" env:"RELAY_MANAGED_DYNAMIC_CONFIG" valid:"-"`
ManagedDynamicConfig bool `yaml:"managed_dynamic_config" env:"RELAY_MANAGED_DYNAMIC_CONFIG" valid:"bool" default:"true"`
DynamicConfigInterval string `yaml:"managed_dynamic_config_interval" env:"RELAY_MANAGED_DYNAMIC_CONFIG_INTERVAL" default:"5s"`
LogLevel string `yaml:"log_level" env:"RELAY_LOG_LEVEL" valid:"required" default:"info"`
LogJSON bool `yaml:"log_json" env:"RELAY_LOG_JSON" valid:"bool" default:"false"`
Expand Down

0 comments on commit 2c7d344

Please sign in to comment.