MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / CacheS

Struct CacheS

IceFireDB-PubSub/pkg/config/types.go:62–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62type CacheS struct {
63 Enable bool `mapstructure:"enable"`
64 // cache The maximum number of items in
65 MaxItemsSize int `mapstructure:"max_items_size"`
66 // cache Kv default expiration time (unit: milliseconds)
67 DefaultExpiration int `mapstructure:"default_expiration"`
68 // cache Expired KV cleaning cycle (unit: second)
69 CleanupInterval int `mapstructure:"cleanup_interval"`
70}
71
72type IgnoreCMDS struct {
73 Enable bool `mapstructure:"enable" json:"enable"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected