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