From 81cf8d04dfcbb84093044de4f10a8a92d9c8bd1c Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 21 Oct 2020 02:42:23 -0700 Subject: [PATCH] minor --- weed/filesys/dirty_page.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filesys/dirty_page.go b/weed/filesys/dirty_page.go index 9c059aae0..7a3e859f5 100644 --- a/weed/filesys/dirty_page.go +++ b/weed/filesys/dirty_page.go @@ -99,7 +99,7 @@ func (pages *ContinuousDirtyPages) saveExistingLargestPageToStorage() (hasSavedD func (pages *ContinuousDirtyPages) saveToStorage(reader io.Reader, offset int64, size int64) { if pages.chunkSaveErrChanClosed { - pages.chunkSaveErrChan = make(chan error, 8) + pages.chunkSaveErrChan = make(chan error, concurrentWriterLimit) pages.chunkSaveErrChanClosed = false }