MCPcopy Create free account
hub / github.com/couchbase/sync_gateway / DefaultRevisionCacheOptions

Function DefaultRevisionCacheOptions

db/revision_cache_interface.go:119–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117}
118
119func DefaultRevisionCacheOptions() *RevisionCacheOptions {
120 return &RevisionCacheOptions{
121 MaxItemCount: DefaultRevisionCacheSize,
122 ShardCount: DefaultRevisionCacheShardCount,
123 }
124}
125
126// RevisionCacheBackingStore is the interface required to be passed into a RevisionCache constructor to provide a backing store for loading documents.
127type RevisionCacheBackingStore interface {

Callers 2

dbcOptionsFromConfigFunction · 0.92
NewRevisionCacheFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected