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

Method GetRunState

db/background_mgr.go:405–409  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

403}
404
405func (b *BackgroundManager) GetRunState() BackgroundProcessState {
406 b.lock.Lock()
407 defer b.lock.Unlock()
408 return b.State
409}
410
411// For test use only
412// Returns empty string if background process is not cluster aware

Calls 2

LockMethod · 0.45
UnlockMethod · 0.45