优化对未知长度内容的缓存长度限制

This commit is contained in:
刘祥超
2023-07-18 12:45:25 +08:00
parent 5928875623
commit 1bab7bfcba
7 changed files with 21 additions and 13 deletions

View File

@@ -79,7 +79,7 @@ func (this *FileWriter) Write(data []byte) (n int, err error) {
err = ErrEntityTooLarge
if this.storage != nil {
this.storage.IgnoreKey(this.key)
this.storage.IgnoreKey(this.key, this.maxSize)
}
}