File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,8 @@ func (s *Server) serve(conn net.Conn) {
107
107
case <- time .After (1 * time .Second ):
108
108
log .Printf ("tickChan unresponsive! Failed to sent %v" , s .latestTime )
109
109
}
110
+ } else {
111
+ log .Println ("CiInput without timestamp!" )
110
112
}
111
113
}
112
114
}
Original file line number Diff line number Diff line change @@ -284,15 +284,17 @@ func (e *Engine) processChange(change *statemachine.Change) {
284
284
e .queue <- newChange
285
285
}
286
286
287
+ log .Println ("Add entry to state store" )
287
288
if err := e .stateStore .Add (& entry ); err != nil {
288
289
log .Println ("Could not add new state to store: " , err )
289
290
}
290
291
stateCopy := e .currentState .Clone ()
291
292
hookOut := HookOut {Change : entry .Change , State : stateCopy }
292
293
for name , hook := range e .hooks {
294
+ log .Println ("Notify hook " , name )
293
295
select {
294
296
case hook <- hookOut :
295
- case <- time .After (1 * time .Second ):
297
+ case <- time .After (500 * time .Millisecond ):
296
298
log .Printf ("Hook %v unresponsive! Failed to sent %v" , name , hookOut )
297
299
}
298
300
}
You can’t perform that action at this time.
0 commit comments