1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00

printing ID working ringbuffer

This commit is contained in:
postmannen 2023-01-01 20:31:54 +01:00
parent 6f525162ea
commit d58095764b

View file

@ -326,7 +326,7 @@ func (r *ringBuffer) processBufferMessages(ctx context.Context, outCh chan samDB
case <-v.SAM.done:
case <-ticker.C:
log.Printf("----------------------------------------------\n")
log.Printf("Error: ringBuffer message %v seems to be stuck, did not receive done signal from publishAMessage process, exited on ticker\n", v.SAM.Subject)
log.Printf("Error: ringBuffer message id: %v, subject: %v seems to be stuck, did not receive done signal from publishAMessage process, exited on ticker\n", v.SAM.ID, v.SAM.Subject)
log.Printf("----------------------------------------------\n")
}
// log.Printf("info: processBufferMessages: done with message, deleting key from bucket, %v\n", v.ID)