mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/mergeset: run go fmt
after bace9a2501
This commit is contained in:
parent
bace9a2501
commit
5934002b57
1 changed files with 2 additions and 2 deletions
|
@ -203,7 +203,7 @@ func (riss *rawItemsShards) addIbsToFlush(tb *Table, ibsToFlush []*inmemoryBlock
|
||||||
riss.updateFlushDeadline()
|
riss.updateFlushDeadline()
|
||||||
}
|
}
|
||||||
riss.ibsToFlush = append(riss.ibsToFlush, ibsToFlush...)
|
riss.ibsToFlush = append(riss.ibsToFlush, ibsToFlush...)
|
||||||
if len(riss.ibsToFlush) >= maxBlocksPerShard * cgroup.AvailableCPUs() {
|
if len(riss.ibsToFlush) >= maxBlocksPerShard*cgroup.AvailableCPUs() {
|
||||||
ibsToMerge = ibsToFlush
|
ibsToMerge = ibsToFlush
|
||||||
riss.ibsToFlush = nil
|
riss.ibsToFlush = nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue