From 3981d65b681d2eae32d2467ec3ad35d28a91f998 Mon Sep 17 00:00:00 2001 From: chrislu Date: Tue, 21 Dec 2021 22:24:38 -0800 Subject: [PATCH] remove println --- weed/filesys/page_writer_pattern.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/weed/filesys/page_writer_pattern.go b/weed/filesys/page_writer_pattern.go index fdd796215..42ca3d969 100644 --- a/weed/filesys/page_writer_pattern.go +++ b/weed/filesys/page_writer_pattern.go @@ -1,7 +1,5 @@ package filesys -import "fmt" - type WriterPattern struct { isStreaming bool lastWriteOffset int64 @@ -26,10 +24,6 @@ func (rp *WriterPattern) MonitorWriteAt(offset int64, size int) { if rp.lastWriteOffset == 0 { } if rp.lastWriteOffset > offset { - if rp.isStreaming { - fmt.Printf("file %s ==> non streaming at [%d,%d)\n", rp.fileName, offset, offset+int64(size)) - } - fmt.Printf("write %s [%d,%d)\n", rp.fileName, offset, offset+int64(size)) rp.isStreaming = false } rp.lastWriteOffset = offset