prevent segment insert overlap

This commit is contained in:
YamiOdymel
2020-02-14 00:51:38 +08:00
parent 2cf93a44db
commit b14dd37477
4 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -194,7 +194,7 @@ func combineSegment(master *os.File, filename string) {
for {
<-time.After(300 * time.Millisecond)
if index == segmentIndex {
if index >= segmentIndex {
<-time.After(1 * time.Second)
continue
}