dubbo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] haiyang1985 opened a new issue #1567: cannot set retry.period for FailbackRegistry
Date Sun, 08 Apr 2018 07:41:17 GMT
haiyang1985 opened a new issue #1567: cannot set retry.period for FailbackRegistry
URL: https://github.com/apache/incubator-dubbo/issues/1567
 
 
   I want to turn off the FailbackRegistry retry or set a long retry period. From the code,
dubbo is able to get retry.period parameter from the registry URL. But, it's not enabled by
RegistryConfig or dubbo.xsd(registryType).
   
   public FailbackRegistry(URL url) {
       int retryPeriod = url.getParameter(Constants.REGISTRY_RETRY_PERIOD_KEY, Constants.DEFAULT_REGISTRY_RETRY_PERIOD);
   }
   
   By check the RegistryConfig or dubbo.xsd, i cannot find the period parameter. So, i am
not able to set the retry.period parameter both in xml and annotation configuration. Any ability
for me to do that?
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message