Browse Source

check debounced events

Chris Bannister 10 năm trước cách đây
mục cha
commit
f9988b719b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      events.go

+ 1 - 0
events.go

@@ -111,6 +111,7 @@ func (s *Session) handleNodeEvent(frames []frame) {
 	}
 
 	for _, f := range events {
+		log.Printf("debouncing event %+v\n", f)
 		switch f.change {
 		case "NEW_NODE":
 			s.handleNewNode(f.host, f.port)