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

removed debug line when not canceling long running publishers

This commit is contained in:
postmannen 2024-11-27 13:25:32 +01:00
parent 91660f895f
commit 32565aad06

View file

@ -728,11 +728,8 @@ func (p process) publishMessages(natsConn *nats.Conn) {
// exit this function if Cancel are received via ctx.
select {
case <-ticker.C:
// If it is a long running publisher we don't want to cancel it.
if p.isLongRunningPublisher {
er := fmt.Errorf("info: isLongRunningPublisher, will not cancel publisher: %v", p.processName)
//sendErrorLogMessage(p.toRingbufferCh, Node(p.node), er)
p.errorKernel.logDebug(er)
continue
}