mirror of https://github.com/ledisdb/ledisdb.git
add ignore configuration set
This commit is contained in:
parent
ae12ced082
commit
f0fe5cac4e
|
@ -131,6 +131,7 @@ func (db *DB) initOptions(cfg *config.RocksDBConfig) {
|
|||
opts.SetMaxOpenFiles(cfg.MaxOpenFiles)
|
||||
opts.SetMaxBackgroundCompactions(cfg.MaxBackgroundCompactions)
|
||||
opts.SetMaxBackgroundFlushes(cfg.MaxBackgroundFlushes)
|
||||
opts.SetLevel0FileNumCompactionTrigger(cfg.Level0FileNumCompactionTrigger)
|
||||
opts.SetLevel0SlowdownWritesTrigger(cfg.Level0SlowdownWritesTrigger)
|
||||
opts.SetLevel0StopWritesTrigger(cfg.Level0StopWritesTrigger)
|
||||
opts.SetTargetFileSizeBase(cfg.TargetFileSizeBase)
|
||||
|
|
Loading…
Reference in New Issue