gotd: reduce unnecessary debug logs

This commit is contained in:
Tulir Asokan
2025-12-04 14:44:13 +02:00
parent c6dd85040c
commit c83a361c0b
9 changed files with 16 additions and 41 deletions
-2
View File
@@ -12,7 +12,6 @@ func (e *Engine) NotifyAcks(ids []int64) {
for _, id := range ids {
ch, ok := e.ack[id]
if !ok {
e.log.Debug("Acknowledge callback not set", zap.Int64("msg_id", id))
continue
}
@@ -31,7 +30,6 @@ func (e *Engine) waitAck(id int64) chan struct{} {
return c
}
log.Debug("Waiting for acknowledge")
c := make(chan struct{})
e.ack[id] = c
return c