Explorar o código

check debounced events

Chris Bannister %!s(int64=10) %!d(string=hai) anos
pai
achega
f9988b719b
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)