additional log.info for data streamed at head

This commit is contained in:
Ian Norden 2020-03-22 09:45:49 -05:00
parent f81c440418
commit 1aded75645

View File

@ -213,6 +213,7 @@ func (sap *Service) ProcessData(wg *sync.WaitGroup, screenAndServePayload chan<-
log.Errorf("super node conversion error for chain %s: %v", sap.chain.String(), err) log.Errorf("super node conversion error for chain %s: %v", sap.chain.String(), err)
continue continue
} }
log.Infof("processing %s data streamed at head height %d", sap.chain.String(), ipldPayload.Height())
// If we have a ScreenAndServe process running, forward the iplds to it // If we have a ScreenAndServe process running, forward the iplds to it
select { select {
case screenAndServePayload <- ipldPayload: case screenAndServePayload <- ipldPayload: