tianxiaoliang commented on a change in pull request #953:
URL: 
https://github.com/apache/servicecomb-service-center/pull/953#discussion_r620802366



##########
File path: datasource/mongo/mongo.go
##########
@@ -234,3 +237,14 @@ func (ds *DataSource) initStore() {
        sd.Store().Run()
        <-sd.Store().Ready()
 }
+
+func initFastRegister() {
+       fastRegConfig := FastRegConfiguration()
+
+       if fastRegConfig.enable {
+               fastRegisterService := NewFastRegisterInstanceService()
+               SetFastRegisterInstanceService(fastRegisterService)
+
+               NewRegisterTimer().Run()

Review comment:
       计时器.run,这个名字起的不易理解, 我理解是计时器在空跑,结构体名 函数名要仔细思考和设计




-- 
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:
[email protected]


Reply via email to