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:
parent
91660f895f
commit
32565aad06
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue