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

Method oldRevExpirySeconds

db/database_collection.go:271–273  ·  view source on GitHub ↗

oldRevExpirySeconds is the number of seconds before old revisions are removed from Couchbase server. This is controlled at a database level.

()

Source from the content-addressed store, hash-verified

269
270// oldRevExpirySeconds is the number of seconds before old revisions are removed from Couchbase server. This is controlled at a database level.
271func (c *DatabaseCollection) oldRevExpirySeconds() uint32 {
272 return c.dbCtx.Options.OldRevExpirySeconds
273}
274
275// ReloadUser the User object, in case its persistent properties have been changed. This code does not lock and is not safe to call from concurrent goroutines.
276func (c *DatabaseCollectionWithUser) ReloadUser(ctx context.Context) error {

Calls

no outgoing calls