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

Function PersistentConfigKey30

rest/config.go:2304–2310  ·  view source on GitHub ↗

Return the persistent config key for a legacy 3.0 persistent config (single database per bucket model)

(ctx context.Context, groupID string)

Source from the content-addressed store, hash-verified

2302
2303// Return the persistent config key for a legacy 3.0 persistent config (single database per bucket model)
2304func PersistentConfigKey30(ctx context.Context, groupID string) string {
2305 if groupID == "" {
2306 base.WarnfCtx(ctx, "Empty group ID specified for PersistentConfigKey - using %v", PersistentConfigDefaultGroupID)
2307 groupID = PersistentConfigDefaultGroupID
2308 }
2309 return base.PersistentConfigPrefixWithoutGroupID + groupID
2310}
2311
2312func HandleSighup(ctx context.Context) {
2313 base.RotateLogfiles(ctx)

Calls 1

WarnfCtxFunction · 0.92