(ctx context.Context, dbNameConfigs map[string]DatabaseConfig)
| 2061 | } |
| 2062 | |
| 2063 | func (sc *ServerContext) applyConfigs(ctx context.Context, dbNameConfigs map[string]DatabaseConfig) (count int) { |
| 2064 | sc._databasesLock.Lock() |
| 2065 | defer sc._databasesLock.Unlock() |
| 2066 | return sc._applyConfigs(ctx, dbNameConfigs, false, false) |
| 2067 | } |
| 2068 | |
| 2069 | // _applyConfig loads the given database, failFast=true will not attempt to retry connecting/loading |
| 2070 | func (sc *ServerContext) _applyConfig(nonContextStruct base.NonCancellableContext, cnf DatabaseConfig, failFast, isInitialStartup, loadFromBucket bool) (applied bool, err error) { |
no test coverage detected