From 2c6a08c5c3b0f7346fbfa3e2ee86b248ef6d78f7 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Tue, 19 Oct 2021 16:51:14 +0200 Subject: try to make exports faster --- dna/drive.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dna') diff --git a/dna/drive.go b/dna/drive.go index 0fc5b03..fd9ac06 100644 --- a/dna/drive.go +++ b/dna/drive.go @@ -64,7 +64,7 @@ func New( os.MkdirAll(destination, 0755) for i := range pools { path := filepath.Join(destination, fmt.Sprintf("%02d", i)) - file, err := os.OpenFile(path, os.O_RDWR|os.O_CREATE, 0644) + file, err := os.OpenFile(path, os.O_RDWR|os.O_APPEND|os.O_CREATE, 0644) if err != nil { logger.Panic(err) } -- cgit v1.2.3