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

Function shortWaitCache

db/change_cache_test.go:1199–1207  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1197}
1198
1199func shortWaitCache() CacheOptions {
1200
1201 // cacheOptions := DefaultCacheOptions()
1202 cacheOptions := DefaultCacheOptions()
1203 cacheOptions.CachePendingSeqMaxWait = 5 * time.Millisecond
1204 cacheOptions.CachePendingSeqMaxNum = 50
1205 cacheOptions.CacheSkippedSeqMaxWait = 2 * time.Minute
1206 return cacheOptions
1207}
1208
1209func verifyCacheSequences(singleCache SingleChannelCache, sequences []uint64) bool {
1210

Calls 1

DefaultCacheOptionsFunction · 0.85

Tested by

no test coverage detected