1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-04-08 09:54:33 +00:00

removed debug printing

This commit is contained in:
postmannen 2022-03-24 05:56:23 +01:00
parent dadbc7d4ca
commit 3386a1d12c

View file

@ -291,7 +291,7 @@ func (p process) messageDeliverNats(natsMsgPayload []byte, natsMsgHeader nats.He
p.processes.errorKernel.logConsoleOnlyIfDebug(er, p.configuration)
if err == nats.ErrNoResponders {
fmt.Printf(" * DEBUG: Waiting, ACKTimeout: %v\n", message.ACKTimeout)
// fmt.Printf(" * DEBUG: Waiting, ACKTimeout: %v\n", message.ACKTimeout)
time.Sleep(time.Second * time.Duration(message.ACKTimeout))
}
@ -327,7 +327,6 @@ func (p process) messageDeliverNats(natsMsgPayload []byte, natsMsgHeader nats.He
p.processes.metrics.promNatsMessagesMissedACKsTotal.Inc()
subReply.Unsubscribe()
continue
}
}