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:
parent
dadbc7d4ca
commit
3386a1d12c
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue