TousakaRin opened a new pull request #701: fix data race, adjust reset policy 
of CircuitBreaker
URL: https://github.com/apache/incubator-brpc/pull/701
 
 
   1. fix sp->circuit_breaker->Reset() 时可能存在的data race
   2. 
调整CircuitBreaker::Reset的策略,Reset之后,如果已经经过了初始化阶段,则继续使用之前ema_latency。如果Reset的时候还处于初始化阶段,则丢弃之前积累的数据

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@brpc.apache.org
For additional commands, e-mail: dev-h...@brpc.apache.org

Reply via email to