🐛 Fixed errors caused by structure changes

This commit is contained in:
landaiqing committed 2025-04-19 13:37:27 +08:00
1 parent c3220c73db
commit ec0ba0e9d0
2 files changed
+10 -10

No files matched your search

+3 -3
View File
@@ -172,9 +172,9 @@ func monitoredCacheExample() {
func compressedCacheExample() {
// 创建压缩选项
compressOptions := cache.CompressOptions{
Enabled: true,
Level: 6,
MinSizeBytes: 100, // 最小压缩大小 (字节)
Enabled: true,
Level: 6,
MinSize: 100, // 最小压缩大小 (字节)
}
// 创建一个带默认缓存和压缩的PixelNebula实例