Add disable indexing to core object
This commit is contained in:
parent
a979f49cd7
commit
8a274fba51
|
@ -392,6 +392,8 @@ type Core struct {
|
|||
// perf standby
|
||||
disablePerfStandby bool
|
||||
|
||||
disableIndexing bool
|
||||
|
||||
licensingStopCh chan struct{}
|
||||
|
||||
// Stores loggers so we can reset the level
|
||||
|
@ -565,6 +567,7 @@ func NewCore(conf *CoreConfig) (*Core, error) {
|
|||
keepHALockOnStepDown: new(uint32),
|
||||
replicationFailure: new(uint32),
|
||||
disablePerfStandby: true,
|
||||
disableIndexing: conf.DisableIndexing,
|
||||
activeContextCancelFunc: new(atomic.Value),
|
||||
allLoggers: conf.AllLoggers,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue