forked from mirror/ledisdb
add bin log comment
This commit is contained in:
parent
6ba8eed8ab
commit
995926387c
|
@ -65,6 +65,7 @@ func Open(cfg *Config) (*Ledis, error) {
|
|||
l.ldb = ldb
|
||||
|
||||
if cfg.BinLog.Use {
|
||||
println("binlog will be refactored later, use your own risk!!!")
|
||||
l.binlog, err = NewBinLog(cfg.NewBinLogConfig())
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in New Issue