mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-05 06:46:48 +00:00
removed pub sleep which kept allocs for too long.
This commit is contained in:
parent
a04e96706a
commit
bcc5eb35b6
1 changed files with 1 additions and 1 deletions
|
@ -307,7 +307,7 @@ func (p process) messageDeliverNats(natsMsgPayload []byte, natsMsgHeader nats.He
|
||||||
// sendErrorLogMessage(p.toRingbufferCh, node(p.node), er)
|
// sendErrorLogMessage(p.toRingbufferCh, node(p.node), er)
|
||||||
log.Printf("%v, waiting %ds before retrying\n", er, subscribeSyncTimer)
|
log.Printf("%v, waiting %ds before retrying\n", er, subscribeSyncTimer)
|
||||||
|
|
||||||
time.Sleep(time.Second * subscribeSyncTimer)
|
//time.Sleep(time.Second * subscribeSyncTimer)
|
||||||
// subReply.Unsubscribe()
|
// subReply.Unsubscribe()
|
||||||
|
|
||||||
retryAttempts++
|
retryAttempts++
|
||||||
|
|
Loading…
Add table
Reference in a new issue