save some goroutines

pull/314/head
Darien Raymond 8 years ago
parent 65a49e7fa0
commit ed780951aa
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169

@ -44,7 +44,7 @@ func (this *BufferedSegmentWriter) Write(seg Segment) {
}
func (this *BufferedSegmentWriter) FlushWithoutLock() {
go this.writer.Write(this.buffer)
this.writer.Write(this.buffer)
this.buffer = nil
}

Loading…
Cancel
Save