mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-13 06:50:25 +08:00
缓存条件增加最小内容尺寸配置
This commit is contained in:
@@ -25,6 +25,7 @@ func TestNewCache(t *testing.T) {
|
||||
t.Log(cache.Read("a"))
|
||||
time.Sleep(2 * time.Second)
|
||||
t.Log(cache.Read("d"))
|
||||
t.Log(cache.Count(), "items")
|
||||
}
|
||||
|
||||
func BenchmarkCache_Add(b *testing.B) {
|
||||
|
||||
Reference in New Issue
Block a user