Skip to content

Commit

Permalink
Mod:comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hxmhlt committed Aug 19, 2019
1 parent 0d353d2 commit 18a9a4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion remoting/zookeeper/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func (l *ZkEventListener) listenDirEvent(zkPath string, listener remoting.DataLi
// listen l service node
dubboPath := path.Join(zkPath, c)

//Add to save into the path map to avoid duplicate listen
//Save the path to avoid listen repeatly
l.pathMapLock.Lock()
_, ok := l.pathMap[dubboPath]
l.pathMapLock.Unlock()
Expand Down

0 comments on commit 18a9a4c

Please sign in to comment.