mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +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)
|
||||
log.Printf("%v, waiting %ds before retrying\n", er, subscribeSyncTimer)
|
||||
|
||||
time.Sleep(time.Second * subscribeSyncTimer)
|
||||
//time.Sleep(time.Second * subscribeSyncTimer)
|
||||
// subReply.Unsubscribe()
|
||||
|
||||
retryAttempts++
|
||||
|
|
Loading…
Reference in a new issue