Fix mod operation on logs

This commit is contained in:
DataHoarder 2022-02-03 20:36:02 +01:00
parent dacfad675d
commit ef59c441d4

View file

@ -310,7 +310,7 @@ func (c *AppendConverter) ScanControlData() {
recordIndex += c.controlSize + int64(control.length)
c.resourceIndex = append(c.resourceIndex, control)
if len(c.resourceIndex) == 1000 {
if len(c.resourceIndex)%1000 == 0 {
log.Printf("read %d control records\n", len(c.resourceIndex))
}
}