You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/05/06 13:21:24 UTC

[GitHub] [servicecomb-java-chassis] servicestage-samples commented on a change in pull request #1196: [SCB-1274]when service center is unavailable, service should enter sa…

servicestage-samples commented on a change in pull request #1196: [SCB-1274]when service center is unavailable, service should enter sa…
URL: https://github.com/apache/servicecomb-java-chassis/pull/1196#discussion_r281181497
 
 

 ##########
 File path: service-registry/src/main/java/org/apache/servicecomb/serviceregistry/task/ServiceCenterTask.java
 ##########
 @@ -30,16 +34,25 @@
 
   private int interval;
 
+  private int checkTimes;
+
+  private AtomicLong failedTimes = new AtomicLong();
 
 Review comment:
   this propertie should be named as consecutiveXXX

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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