afex/hystrix-go

How to update config an runtime?

jilieryuyi opened this issue · 1 comments

hystrix.ConfigureCommand(key, apiConfig.HystrixConfig) set config at init, how to update at runtime?

'Timeout'、'ErrorPercentThreshold'、'RequestVolumeThreshold' and 'SleepWindow' can update at runtime,
but 'MaxConcurrentRequests' can not.

We set the config to the configuration center, and when the related config changes,use hystrix.ConfigureCommand(key, apiConfig.HystrixConfig) again