1
0
Fork 0
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:
postmannen 2022-06-22 05:31:40 +02:00
parent a04e96706a
commit bcc5eb35b6

View file

@ -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++