From 3b2ba1aad64a9d1e922c68decd3cad4557bec2ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Sat, 29 Jul 2023 09:46:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=99=E7=BC=93=E5=AD=98=E5=85=83=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=B9=9F=E5=8A=A0=E5=85=A5=E5=86=99=E5=B9=B6=E5=8F=91?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/caches/storage_file.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/caches/storage_file.go b/internal/caches/storage_file.go index 99624b1..2aa3030 100644 --- a/internal/caches/storage_file.go +++ b/internal/caches/storage_file.go @@ -614,7 +614,9 @@ func (this *FileStorage) openWriter(key string, expiredAt int64, status int, hea metaBodySize = bodySize } + fsutils.WriteBegin() _, err = writer.Write(metaBytes) + fsutils.WriteEnd() if err != nil { return nil, err }