prevent segment insert overlap

This commit is contained in:
YamiOdymel 2020-02-14 00:51:38 +08:00
parent 2cf93a44db
commit b14dd37477
No known key found for this signature in database
GPG Key ID: 68E469836934DB36
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
}