Browse Source

temp

avoid_releasing_temp_file_on_write
chrislu 3 years ago
parent
commit
98e11895de
  1. 2
      weed/filesys/page_writer.go

2
weed/filesys/page_writer.go

@ -26,7 +26,7 @@ func newPageWriter(file *File, chunkSize int64) *PageWriter {
chunkSize: chunkSize,
writerPattern: NewWriterPattern(chunkSize),
randomWriter: newTempFileDirtyPages(file, chunkSize),
streamWriter: newStreamDirtyPages(file, chunkSize),
// streamWriter: newStreamDirtyPages(file, chunkSize),
//streamWriter: newContinuousDirtyPages(file),
//streamWriter: nil,
}

Loading…
Cancel
Save