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

This commit is contained in:
GoEdgeLab
2023-07-18 12:45:25 +08:00
parent ceeedf0edc
commit a4bdc90440
7 changed files with 21 additions and 13 deletions

View File

@@ -54,7 +54,7 @@ type StorageInterface interface {
AddToList(item *Item)
// IgnoreKey 忽略某个Key即不缓存某个Key
IgnoreKey(key string)
IgnoreKey(key string, maxSize int64)
// CanSendfile 是否支持Sendfile
CanSendfile() bool