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

Method isCompactActive

db/channel_cache.go:442–444  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

440}
441
442func (c *channelCacheImpl) isCompactActive() bool {
443 return c.compactRunning.IsTrue()
444}
445
446// startCacheCompaction starts a goroutine for cache compaction if it's not already running.
447func (c *channelCacheImpl) startCacheCompaction(ctx context.Context) {

Callers 1

CacheCompactActiveMethod · 0.80

Calls 1

IsTrueMethod · 0.80

Tested by

no test coverage detected